Enum libloading::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 17 variants
DlOpen {
desc: DlDescription,
},
DlOpenUnknown,
DlSym {
desc: DlDescription,
},
DlSymUnknown,
DlClose {
desc: DlDescription,
},
DlCloseUnknown,
LoadLibraryW {
source: WindowsError,
},
LoadLibraryWUnknown,
GetModuleHandleExW {
source: WindowsError,
},
GetModuleHandleExWUnknown,
GetProcAddress {
source: WindowsError,
},
GetProcAddressUnknown,
FreeLibrary {
source: WindowsError,
},
FreeLibraryUnknown,
IncompatibleSize,
CreateCString {
source: NulError,
},
CreateCStringWithTrailing {
source: FromBytesWithNulError,
},
}Expand description
Errors.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The dlopen call failed.
The dlopen call failed and system did not report an error.
The dlsym call failed.
The dlsym call failed and system did not report an error.
The dlclose call failed.
The dlclose call failed and system did not report an error.
The LoadLibraryW call failed.
The LoadLibraryW call failed and system did not report an error.
The GetModuleHandleExW call failed.
The GetModuleHandleExW call failed and system did not report an error.
The GetProcAddress call failed.
The GetProcAddressUnknown call failed and system did not report an error.
The FreeLibrary call failed.
The FreeLibrary call failed and system did not report an error.
The requested type cannot possibly work.
Could not create a new CString.
Fields of CreateCString
source: NulErrorThe source error.
Could not create a new CString from bytes with trailing null.
Fields of CreateCStringWithTrailing
source: FromBytesWithNulErrorThe source error.