pub struct TraceOpts {
pub filters: Option<String>,
pub buffer: usize,
pub lossy: bool,
pub json: bool,
pub file: Option<FileSinkOpts>,
}Fields§
§filters: Option<String>§buffer: usize§lossy: bool§json: bool§file: Option<FileSinkOpts>When present, logs are written to a rolling file instead of stdout.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TraceOpts
impl RefUnwindSafe for TraceOpts
impl Send for TraceOpts
impl Sync for TraceOpts
impl Unpin for TraceOpts
impl UnsafeUnpin for TraceOpts
impl UnwindSafe for TraceOpts
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