pub enum RecordKind {
Open,
Read,
Write,
Error,
Shutdown,
Drop,
}
Expand description
This enumeration represents log record kind. It is contained inside Record
and helps to determine
how to work with log record message content which is different for each log record kind.
Variants§
Trait Implementations§
Source§impl Clone for RecordKind
impl Clone for RecordKind
Source§fn clone(&self) -> RecordKind
fn clone(&self) -> RecordKind
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 RecordKind
impl Debug for RecordKind
Source§impl Display for RecordKind
impl Display for RecordKind
Source§impl From<RecordKind> for char
impl From<RecordKind> for char
Source§fn from(kind: RecordKind) -> Self
fn from(kind: RecordKind) -> Self
Converts to this type from the input type.
Source§impl Hash for RecordKind
impl Hash for RecordKind
Source§impl PartialEq for RecordKind
impl PartialEq for RecordKind
impl Copy for RecordKind
impl Eq for RecordKind
impl StructuralPartialEq for RecordKind
Auto Trait Implementations§
impl Freeze for RecordKind
impl RefUnwindSafe for RecordKind
impl Send for RecordKind
impl Sync for RecordKind
impl Unpin for RecordKind
impl UnwindSafe for RecordKind
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