pub enum DynamicLoadingError {
AlreadyLoaded,
OpenLibrary {
path: PathBuf,
source: Error,
},
LoadSymbol {
symbol: &'static str,
source: Error,
},
}Expand description
Error returned when loading the AIC dynamic library at runtime fails.
Variants§
AlreadyLoaded
A dynamic library was already loaded. The active library cannot be replaced safely.
OpenLibrary
Opening the dynamic library failed.
Fields
§
path: PathBufPath that was passed to load_library.
LoadSymbol
A required AIC symbol could not be found in the dynamic library.
Trait Implementations§
Source§impl Debug for DynamicLoadingError
impl Debug for DynamicLoadingError
Source§impl Display for DynamicLoadingError
impl Display for DynamicLoadingError
Source§impl Error for DynamicLoadingError
impl Error for DynamicLoadingError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for DynamicLoadingError
impl !UnwindSafe for DynamicLoadingError
impl Freeze for DynamicLoadingError
impl Send for DynamicLoadingError
impl Sync for DynamicLoadingError
impl Unpin for DynamicLoadingError
impl UnsafeUnpin for DynamicLoadingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more