Struct FileWireRecorder
pub struct FileWireRecorder { /* private fields */ }Expand description
Durable WireRecorder writing one JSON object per line (JSONL).
Entries are buffered and flushed at least every second and on drop. Write
or serialization errors are logged via tracing::warn! — recording never
fails the session.
See the module docs for the on-disk format and an example entry.
Implementations§
§impl FileWireRecorder
impl FileWireRecorder
Trait Implementations§
§impl WireRecorder for FileWireRecorder
impl WireRecorder for FileWireRecorder
Auto Trait Implementations§
impl !Freeze for FileWireRecorder
impl !RefUnwindSafe for FileWireRecorder
impl Send for FileWireRecorder
impl Sync for FileWireRecorder
impl Unpin for FileWireRecorder
impl UnwindSafe for FileWireRecorder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more