Enum dlib::LibLoadingError
source · #[non_exhaustive]
pub enum LibLoadingError {
Show 17 variants
DlOpen {
desc: DlDescription,
},
DlOpenUnknown,
DlSym {
desc: DlDescription,
},
DlSymUnknown,
DlClose {
desc: DlDescription,
},
DlCloseUnknown,
LoadLibraryExW {
source: WindowsError,
},
LoadLibraryExWUnknown,
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
DlOpen
Fields
desc: DlDescriptionThe source error.
The dlopen call failed.
DlOpenUnknown
The dlopen call failed and system did not report an error.
DlSym
Fields
desc: DlDescriptionThe source error.
The dlsym call failed.
DlSymUnknown
The dlsym call failed and system did not report an error.
DlClose
Fields
desc: DlDescriptionThe source error.
The dlclose call failed.
DlCloseUnknown
The dlclose call failed and system did not report an error.
LoadLibraryExW
Fields
source: WindowsErrorThe source error.
The LoadLibraryW call failed.
LoadLibraryExWUnknown
The LoadLibraryW call failed and system did not report an error.
GetModuleHandleExW
Fields
source: WindowsErrorThe source error.
The GetModuleHandleExW call failed.
GetModuleHandleExWUnknown
The GetModuleHandleExW call failed and system did not report an error.
GetProcAddress
Fields
source: WindowsErrorThe source error.
The GetProcAddress call failed.
GetProcAddressUnknown
The GetProcAddressUnknown call failed and system did not report an error.
FreeLibrary
Fields
source: WindowsErrorThe source error.
The FreeLibrary call failed.
FreeLibraryUnknown
The FreeLibrary call failed and system did not report an error.
IncompatibleSize
The requested type cannot possibly work.
CreateCString
Could not create a new CString.
CreateCStringWithTrailing
Fields
source: FromBytesWithNulErrorThe source error.
Could not create a new CString from bytes with trailing null.