pub enum EntryContent<E> {
Error(E),
Message {
level: LevelFilter,
message: String,
},
}Expand description
The Content of the Entry
Variants§
Trait Implementations§
Source§impl<E: Clone> Clone for EntryContent<E>
impl<E: Clone> Clone for EntryContent<E>
Source§fn clone(&self) -> EntryContent<E>
fn clone(&self) -> EntryContent<E>
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<E: Debug> Debug for EntryContent<E>
impl<E: Debug> Debug for EntryContent<E>
Source§impl<E: Ord> Ord for EntryContent<E>
impl<E: Ord> Ord for EntryContent<E>
Source§fn cmp(&self, other: &EntryContent<E>) -> Ordering
fn cmp(&self, other: &EntryContent<E>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<E: PartialEq> PartialEq for EntryContent<E>
impl<E: PartialEq> PartialEq for EntryContent<E>
Source§impl<E: PartialOrd> PartialOrd for EntryContent<E>
impl<E: PartialOrd> PartialOrd for EntryContent<E>
impl<E: Eq> Eq for EntryContent<E>
impl<E> StructuralPartialEq for EntryContent<E>
Auto Trait Implementations§
impl<E> Freeze for EntryContent<E>where
E: Freeze,
impl<E> RefUnwindSafe for EntryContent<E>where
E: RefUnwindSafe,
impl<E> Send for EntryContent<E>where
E: Send,
impl<E> Sync for EntryContent<E>where
E: Sync,
impl<E> Unpin for EntryContent<E>where
E: Unpin,
impl<E> UnwindSafe for EntryContent<E>where
E: UnwindSafe,
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