Enum sharedlib::SharedlibError []

pub enum SharedlibError {
    LibraryClose(LibraryClose),
    LibraryFindSymbol(LibraryFindSymbol),
    LibraryOpen(LibraryOpen),
    OsError(OsError),
    OsErrorFailure(OsErrorFailure),
}

Variants

LibraryClose(LibraryClose)LibraryFindSymbol(LibraryFindSymbol)LibraryOpen(LibraryOpen)OsError(OsError)OsErrorFailure(OsErrorFailure)

Trait Implementations

impl Debug for SharedlibError

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

Formats the value using the given formatter.

impl Display for SharedlibError

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

Formats the value using the given formatter.

impl Error for SharedlibError

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more

impl From<LibraryClose> for SharedlibError

fn from(error: LibraryClose) -> SharedlibError

Performs the conversion.

impl From<LibraryFindSymbol> for SharedlibError

fn from(error: LibraryFindSymbol) -> SharedlibError

Performs the conversion.

impl From<LibraryOpen> for SharedlibError

fn from(error: LibraryOpen) -> SharedlibError

Performs the conversion.

impl From<OsError> for SharedlibError

fn from(error: OsError) -> SharedlibError

Performs the conversion.

impl From<OsErrorFailure> for SharedlibError

fn from(error: OsErrorFailure) -> SharedlibError

Performs the conversion.