pub struct LogBuffer(/* private fields */);Expand description
A struct to automate management of the in-memory log buffer.
When a new instance of this struct is created, the log buffer is automatically enabled if not already. Inversely, when all instances of this struct are dropped, the log buffer is disabled.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogBuffer
impl RefUnwindSafe for LogBuffer
impl Send for LogBuffer
impl Sync for LogBuffer
impl Unpin for LogBuffer
impl UnwindSafe for LogBuffer
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