pub enum BridgeLoadError {
PathNotFound,
LoadLibrary {
path: PathBuf,
source: ArcLibloadingError,
},
}Expand description
Errors that can occur while locating or opening the bridge library.
Variants§
PathNotFound
No supported runtime search location contained the bridge library.
LoadLibrary
Loading the discovered bridge library file or one of its required symbols failed.
Fields
§
source: ArcLibloadingErrorThe underlying dynamic loader error.
Trait Implementations§
Source§impl Clone for BridgeLoadError
impl Clone for BridgeLoadError
Source§fn clone(&self) -> BridgeLoadError
fn clone(&self) -> BridgeLoadError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BridgeLoadError
impl Debug for BridgeLoadError
Source§impl Display for BridgeLoadError
impl Display for BridgeLoadError
Source§impl Error for BridgeLoadError
impl Error for BridgeLoadError
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 Freeze for BridgeLoadError
impl !RefUnwindSafe for BridgeLoadError
impl Send for BridgeLoadError
impl Sync for BridgeLoadError
impl Unpin for BridgeLoadError
impl UnsafeUnpin for BridgeLoadError
impl !UnwindSafe for BridgeLoadError
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