pub enum TinkerforgeError {
IoError(Error),
NoResponseReceived,
BroadcastStreamRecvError(BroadcastStreamRecvError),
PackedDecodingError(TryFromSliceError),
BrickletError(BrickletError),
}
Variants§
IoError(Error)
NoResponseReceived
BroadcastStreamRecvError(BroadcastStreamRecvError)
PackedDecodingError(TryFromSliceError)
BrickletError(BrickletError)
Trait Implementations§
Source§impl Debug for TinkerforgeError
impl Debug for TinkerforgeError
Source§impl Display for TinkerforgeError
impl Display for TinkerforgeError
Source§impl Error for TinkerforgeError
impl Error for TinkerforgeError
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<BrickletError> for TinkerforgeError
impl From<BrickletError> for TinkerforgeError
Source§fn from(source: BrickletError) -> Self
fn from(source: BrickletError) -> Self
Converts to this type from the input type.
Source§impl From<BroadcastStreamRecvError> for TinkerforgeError
impl From<BroadcastStreamRecvError> for TinkerforgeError
Source§fn from(source: BroadcastStreamRecvError) -> Self
fn from(source: BroadcastStreamRecvError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TinkerforgeError
impl From<Error> for TinkerforgeError
Source§impl From<TryFromSliceError> for TinkerforgeError
impl From<TryFromSliceError> for TinkerforgeError
Source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TinkerforgeError
impl !RefUnwindSafe for TinkerforgeError
impl Send for TinkerforgeError
impl Sync for TinkerforgeError
impl Unpin for TinkerforgeError
impl !UnwindSafe for TinkerforgeError
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