pub struct LogCollector {
pub messages: Vec<String>,
pub bytes_written: usize,
pub bytes_limit: Option<usize>,
pub limit_warning: bool,
}
Fields§
§messages: Vec<String>
§bytes_written: usize
§bytes_limit: Option<usize>
§limit_warning: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogCollector
impl RefUnwindSafe for LogCollector
impl Send for LogCollector
impl Sync for LogCollector
impl Unpin for LogCollector
impl UnwindSafe for LogCollector
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