pub enum LoggingKind {
Pretty,
Compact,
Json,
}Variants§
Pretty
A pretty log on multiple lines with nice colours
Compact
A more cluttered logging
Json
Logs are emitted in JSON format
Trait Implementations§
Source§impl Clone for LoggingKind
impl Clone for LoggingKind
Source§fn clone(&self) -> LoggingKind
fn clone(&self) -> LoggingKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoggingKind
impl Debug for LoggingKind
Source§impl Default for LoggingKind
impl Default for LoggingKind
Source§fn default() -> LoggingKind
fn default() -> LoggingKind
Returns the “default value” for a type. Read more
Source§impl Display for LoggingKind
impl Display for LoggingKind
Source§impl FromStr for LoggingKind
impl FromStr for LoggingKind
Source§impl PartialEq for LoggingKind
impl PartialEq for LoggingKind
impl Copy for LoggingKind
impl Eq for LoggingKind
impl StructuralPartialEq for LoggingKind
Auto Trait Implementations§
impl Freeze for LoggingKind
impl RefUnwindSafe for LoggingKind
impl Send for LoggingKind
impl Sync for LoggingKind
impl Unpin for LoggingKind
impl UnwindSafe for LoggingKind
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