pub enum GpibError {
DriverError(IbStatus, IbError),
Timeout,
ValueError(String),
TokioError(JoinError),
}Variants§
Trait Implementations§
Source§impl Error for GpibError
impl Error for GpibError
1.30.0 · 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()
Source§impl From<FromUtf8Error> for GpibError
impl From<FromUtf8Error> for GpibError
Source§fn from(e: FromUtf8Error) -> GpibError
fn from(e: FromUtf8Error) -> GpibError
Converts to this type from the input type.
Source§impl From<Infallible> for GpibError
impl From<Infallible> for GpibError
Source§fn from(e: Infallible) -> GpibError
fn from(e: Infallible) -> GpibError
Converts to this type from the input type.
Source§impl From<TryFromIntError> for GpibError
impl From<TryFromIntError> for GpibError
Source§fn from(e: TryFromIntError) -> GpibError
fn from(e: TryFromIntError) -> GpibError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GpibError
impl !RefUnwindSafe for GpibError
impl Send for GpibError
impl Sync for GpibError
impl Unpin for GpibError
impl !UnwindSafe for GpibError
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