Enum sharedlib::error::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    IoError(Error),
    LibraryClose,
    LibraryFindSymbol(String),
    LibraryOpen(PathBuf),
    OsError(String, String),
    OsErrorFailure(String),
}

Variants

Msg
IoError
LibraryClose
LibraryFindSymbol
LibraryOpen
OsError
OsErrorFailure

Methods

impl ErrorKind

fn description(&self) -> &str

Trait Implementations

impl Display for ErrorKind

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> From<&'a str> for ErrorKind

fn from(s: &'a str) -> Self

Performs the conversion.

impl From<String> for ErrorKind

fn from(s: String) -> Self

Performs the conversion.

Derived Implementations

impl Debug for ErrorKind

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.