Enum libimagentrytag::error::TagErrorKind
[−]
pub enum TagErrorKind { Msg(String), TagTypeError, HeaderReadError, HeaderWriteError, NotATag, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
TagTypeError
HeaderReadError
HeaderWriteError
NotATag
Methods
impl TagErrorKind
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl From<TagErrorKind> for TagError
fn from(e: TagErrorKind) -> Self
Performs the conversion.
impl Debug for TagErrorKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more