pub struct State {
filter: Filter,
loggers: Vec<Box<dyn Log + Send>>,
descriptors: Vec<RawDescriptor>,
early_init: bool,
}
Fields§
§filter: Filter
Record filter
loggers: Vec<Box<dyn Log + Send>>
All the loggers we have
descriptors: Vec<RawDescriptor>
Raw Descriptors to preserve
early_init: bool
True if we have just been initialized with safe startup defaults (stderr logging), false after detailed initialization has occurred.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl !UnwindSafe for State
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