pub struct Logger {
pub cfg: OnceCell<Config>,
pub send: OnceCell<Sender<FastLogRecord>>,
pub recv: OnceCell<Receiver<FastLogRecord>>,
}
Fields§
§cfg: OnceCell<Config>
§send: OnceCell<Sender<FastLogRecord>>
§recv: OnceCell<Receiver<FastLogRecord>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl !UnwindSafe for Logger
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