pub struct FileObservationSinkConfig {
pub path: PathBuf,
pub max_file_bytes: u64,
pub retained_files: usize,
pub queue_capacity: usize,
pub sync_every_records: usize,
}Expand description
Local observation drain limits and retention policy.
Fields§
§path: PathBufActive JSONL file path.
max_file_bytes: u64Maximum active file size before rotation.
retained_files: usizeNumber of rotated files retained.
queue_capacity: usizeMaximum queued observations awaiting disk.
sync_every_records: usizeNumber of records written between fsync calls.
Implementations§
Trait Implementations§
Source§impl Clone for FileObservationSinkConfig
impl Clone for FileObservationSinkConfig
Source§fn clone(&self) -> FileObservationSinkConfig
fn clone(&self) -> FileObservationSinkConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileObservationSinkConfig
impl Debug for FileObservationSinkConfig
impl Eq for FileObservationSinkConfig
impl StructuralPartialEq for FileObservationSinkConfig
Auto Trait Implementations§
impl Freeze for FileObservationSinkConfig
impl RefUnwindSafe for FileObservationSinkConfig
impl Send for FileObservationSinkConfig
impl Sync for FileObservationSinkConfig
impl Unpin for FileObservationSinkConfig
impl UnsafeUnpin for FileObservationSinkConfig
impl UnwindSafe for FileObservationSinkConfig
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