Struct klogger::WriterNoDrop
source · [−]pub struct WriterNoDrop;
Expand description
A writer that doesn’t respect the locking procedure and tries to write at all costs.
It’s used by sprint at the moment. It can also be useful as part of panics handlers where we really want to print in all circumstances.
Implementations
sourceimpl WriterNoDrop
impl WriterNoDrop
pub fn get() -> WriterNoDrop
Trait Implementations
sourceimpl Write for WriterNoDrop
impl Write for WriterNoDrop
Auto Trait Implementations
impl RefUnwindSafe for WriterNoDrop
impl Send for WriterNoDrop
impl Sync for WriterNoDrop
impl Unpin for WriterNoDrop
impl UnwindSafe for WriterNoDrop
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