Enum libimagentryref::error::RefErrorKind
[−]
pub enum RefErrorKind { Msg(String), StoreError(StoreErrorKind), TomlQueryError(ErrorKind), EntryUtilError(EntryUtilErrorKind), Io(Error), Utf8Error(FromUtf8Error), TomlDeError(Error), TomlSerError(Error), HeaderTypeError(&'static str, &'static str), HeaderFieldMissingError(&'static str), HeaderFieldWriteError, HeaderFieldReadError, HeaderFieldAlreadyExistsError, PathUTF8Error, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
StoreError(StoreErrorKind)
TomlQueryError(ErrorKind)
EntryUtilError(EntryUtilErrorKind)
Io(Error)
Utf8Error(FromUtf8Error)
TomlDeError(Error)
TomlSerError(Error)
HeaderTypeError(&'static str, &'static str)
HeaderFieldMissingError(&'static str)
HeaderFieldWriteError
HeaderFieldReadError
HeaderFieldAlreadyExistsError
PathUTF8Error
Methods
impl RefErrorKind
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl From<RefErrorKind> for RefError
fn from(e: RefErrorKind) -> Self
Performs the conversion.
impl Debug for RefErrorKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for RefErrorKind
impl From<StoreErrorKind> for RefErrorKind
fn from(e: StoreErrorKind) -> Self
Performs the conversion.
impl From<ErrorKind> for RefErrorKind
impl From<EntryUtilErrorKind> for RefErrorKind
fn from(e: EntryUtilErrorKind) -> Self
Performs the conversion.