pub struct LogMsg {
pub msg: String,
pub target: String,
pub level: Level,
}
Expand description
Represents a log message in the LogBuffer.
Fields§
§msg: String
The message string.
target: String
The crate name that issued this log.
level: Level
The log level.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogMsg
impl RefUnwindSafe for LogMsg
impl Send for LogMsg
impl Sync for LogMsg
impl Unpin for LogMsg
impl UnwindSafe for LogMsg
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