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
impl Display for SharedlibError
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.