pub enum LogKind {
Sys,
Out,
In,
Err,
}Expand description
How a single log row is styled and prefixed.
Variants§
Sys
System or status message — faint text, no arrow.
Out
Outgoing request — muted text with a “→” prefix.
In
Incoming response — success-green text with a “←” prefix.
Err
Error — danger-red text, no arrow.
Trait Implementations§
impl Copy for LogKind
impl Eq for LogKind
impl StructuralPartialEq for LogKind
Auto Trait Implementations§
impl Freeze for LogKind
impl RefUnwindSafe for LogKind
impl Send for LogKind
impl Sync for LogKind
impl Unpin for LogKind
impl UnsafeUnpin for LogKind
impl UnwindSafe for LogKind
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