pub enum ViconError {
SdkError {
source: ViconSdkStatus,
},
}Expand description
Enumeration of errors returned by a thing that HasViconHardware.
Variants§
Trait Implementations§
Source§impl Debug for ViconError
impl Debug for ViconError
Source§impl Display for ViconError
impl Display for ViconError
Source§impl Error for ViconError
impl Error for ViconError
Source§impl ErrorCompat for ViconError
impl ErrorCompat for ViconError
Source§fn iter_chain(&self) -> ChainCompat<'_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreSource§impl TryFrom<i32> for ViconError
Implementation of TryFrom which
returns Ok for successful
ViconSdkStatus codes, and Err
for all other status codes.
impl TryFrom<i32> for ViconError
Implementation of TryFrom which
returns Ok for successful
ViconSdkStatus codes, and Err
for all other status codes.
Auto Trait Implementations§
impl Freeze for ViconError
impl RefUnwindSafe for ViconError
impl Send for ViconError
impl Sync for ViconError
impl Unpin for ViconError
impl UnwindSafe for ViconError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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