pub struct JsonlFileSink { /* private fields */ }Expand description
Append-only JSONL file sink with size-based rotation.
The sink writes each entry as a single JSON line. When the current file
exceeds max_size_bytes, it is renamed to <path>.1 (and previous
generations shift up to <path>.N) — keeping at most max_files files
on disk.
Implementations§
Trait Implementations§
Source§impl Debug for JsonlFileSink
impl Debug for JsonlFileSink
Source§impl Drop for JsonlFileSink
impl Drop for JsonlFileSink
Source§impl ToolAuditSink for JsonlFileSink
impl ToolAuditSink for JsonlFileSink
Auto Trait Implementations§
impl !Freeze for JsonlFileSink
impl RefUnwindSafe for JsonlFileSink
impl Send for JsonlFileSink
impl Sync for JsonlFileSink
impl Unpin for JsonlFileSink
impl UnsafeUnpin for JsonlFileSink
impl UnwindSafe for JsonlFileSink
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