pub struct Chan {
pub filter: OnceCell<Box<dyn Filter>>,
pub send: Sender<FastLogRecord>,
pub recv: Receiver<FastLogRecord>,
}
Fields
filter: OnceCell<Box<dyn Filter>>
send: Sender<FastLogRecord>
recv: Receiver<FastLogRecord>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Chan
impl Send for Chan
impl Sync for Chan
impl Unpin for Chan
impl !UnwindSafe for Chan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more