pub enum MultiplexerError<I2cError>where
I2cError: Error,{
WriteReadI2CError,
WriteI2CError,
ReadI2CError,
PortError,
I2CError(I2cError),
}
Variants§
Trait Implementations§
Source§impl<I2cError> Clone for MultiplexerError<I2cError>
impl<I2cError> Clone for MultiplexerError<I2cError>
Source§fn clone(&self) -> MultiplexerError<I2cError>
fn clone(&self) -> MultiplexerError<I2cError>
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<I2cError> Debug for MultiplexerError<I2cError>
impl<I2cError> Debug for MultiplexerError<I2cError>
Source§impl<I2cError> Display for MultiplexerError<I2cError>where
I2cError: Error,
impl<I2cError> Display for MultiplexerError<I2cError>where
I2cError: Error,
Source§impl<I2cError> Error for MultiplexerError<I2cError>
impl<I2cError> Error for MultiplexerError<I2cError>
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<I2cError> Error for MultiplexerError<I2cError>where
I2cError: Error,
impl<I2cError> Error for MultiplexerError<I2cError>where
I2cError: Error,
Source§impl<I2cError> Ord for MultiplexerError<I2cError>
impl<I2cError> Ord for MultiplexerError<I2cError>
Source§fn cmp(&self, other: &MultiplexerError<I2cError>) -> Ordering
fn cmp(&self, other: &MultiplexerError<I2cError>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<I2cError> PartialEq for MultiplexerError<I2cError>
impl<I2cError> PartialEq for MultiplexerError<I2cError>
Source§impl<I2cError> PartialOrd for MultiplexerError<I2cError>where
I2cError: Error + PartialOrd,
impl<I2cError> PartialOrd for MultiplexerError<I2cError>where
I2cError: Error + PartialOrd,
impl<I2cError> Copy for MultiplexerError<I2cError>
impl<I2cError> Eq for MultiplexerError<I2cError>
impl<I2cError> StructuralPartialEq for MultiplexerError<I2cError>where
I2cError: Error,
Auto Trait Implementations§
impl<I2cError> Freeze for MultiplexerError<I2cError>where
I2cError: Freeze,
impl<I2cError> RefUnwindSafe for MultiplexerError<I2cError>where
I2cError: RefUnwindSafe,
impl<I2cError> Send for MultiplexerError<I2cError>where
I2cError: Send,
impl<I2cError> Sync for MultiplexerError<I2cError>where
I2cError: Sync,
impl<I2cError> Unpin for MultiplexerError<I2cError>where
I2cError: Unpin,
impl<I2cError> UnwindSafe for MultiplexerError<I2cError>where
I2cError: UnwindSafe,
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