pub enum VisaWrapperError {
OpeningLibraryError(Error),
SymbolGettingError(Error),
NullSymbol,
PathNotMatchingLibrary(Error),
NullCharacter,
UnsupportedPlatform,
}Expand description
This is a library-specific error that is returned by all calls to all APIs.
Variants§
OpeningLibraryError(Error)
The library could not be opened.
SymbolGettingError(Error)
The symbol could not be obtained.
NullSymbol
Value of the symbol was null.
PathNotMatchingLibrary(Error)
Address could not be matched to a dynamic link library
NullCharacter
Null Character in path name
UnsupportedPlatform
Unsupported Target
Trait Implementations§
Source§impl Debug for VisaWrapperError
impl Debug for VisaWrapperError
Source§impl Display for VisaWrapperError
impl Display for VisaWrapperError
Source§impl Error for VisaWrapperError
impl Error for VisaWrapperError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn ErrorTrait>
fn cause(&self) -> Option<&dyn ErrorTrait>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl Freeze for VisaWrapperError
impl !RefUnwindSafe for VisaWrapperError
impl Send for VisaWrapperError
impl Sync for VisaWrapperError
impl Unpin for VisaWrapperError
impl !UnwindSafe for VisaWrapperError
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