Enum sloggers::ErrorKind
[−]
[src]
pub enum ErrorKind {
Invalid,
Other,
}A list of error kinds.
Variants
InvalidInvalid input.
OtherUnknown error.
Trait Implementations
impl Debug for ErrorKind[src]
impl Clone for ErrorKind[src]
fn clone(&self) -> ErrorKind[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for ErrorKind[src]
fn eq(&self, __arg_0: &ErrorKind) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Eq for ErrorKind[src]
impl TrackableErrorKind for ErrorKind[src]
fn description(&self) -> &str[src]
A short description of the error kind. Read more
fn display(&self, f: &mut Formatter) -> Result<(), Error>[src]
Displays this kind. Read more
fn is_tracking_needed(&self) -> bool[src]
Returns whether the error of this kind is needed to be tracked. Read more
fn is_assigning_tracking_number_needed(&self) -> bool[src]
Returns whether the error of this kind is needed to be assigned a tracking number automatically. Read more