pub struct LogBuffer {
entries: Arc<Mutex<VecDeque<LogEntry>>>,
}
Expand description
Thread-safe log buffer for capturing application logs
Fields§
§entries: Arc<Mutex<VecDeque<LogEntry>>>
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