pub struct SpoolConfig {
pub spool_path: PathBuf,
}Expand description
Configuration for a SpooledClient.
Carries just the spool file path today; kept as a struct so additional knobs (rotation, size caps) can be added without breaking callers.
Fields§
§spool_path: PathBufPath to the append-only NDJSON spool file. Created on first spool.
Implementations§
Trait Implementations§
Source§impl Clone for SpoolConfig
impl Clone for SpoolConfig
Source§fn clone(&self) -> SpoolConfig
fn clone(&self) -> SpoolConfig
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 moreAuto Trait Implementations§
impl Freeze for SpoolConfig
impl RefUnwindSafe for SpoolConfig
impl Send for SpoolConfig
impl Sync for SpoolConfig
impl Unpin for SpoolConfig
impl UnsafeUnpin for SpoolConfig
impl UnwindSafe for SpoolConfig
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