pub enum NCT3933Error<E> {
I2C(E),
InvalidID,
InvalidChannel,
InvalidMode,
InvalidCurrent,
}Variants§
Trait Implementations§
Source§impl<E: Clone> Clone for NCT3933Error<E>
impl<E: Clone> Clone for NCT3933Error<E>
Source§fn clone(&self) -> NCT3933Error<E>
fn clone(&self) -> NCT3933Error<E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<E: Copy> Copy for NCT3933Error<E>
Source§impl<E: Debug> Debug for NCT3933Error<E>
impl<E: Debug> Debug for NCT3933Error<E>
impl<E: Eq> Eq for NCT3933Error<E>
Source§impl<E> Format for NCT3933Error<E>where
E: Format,
impl<E> Format for NCT3933Error<E>where
E: Format,
Source§impl<E: PartialEq> PartialEq for NCT3933Error<E>
impl<E: PartialEq> PartialEq for NCT3933Error<E>
Source§fn eq(&self, other: &NCT3933Error<E>) -> bool
fn eq(&self, other: &NCT3933Error<E>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<E> StructuralPartialEq for NCT3933Error<E>
Auto Trait Implementations§
impl<E> Freeze for NCT3933Error<E>where
E: Freeze,
impl<E> RefUnwindSafe for NCT3933Error<E>where
E: RefUnwindSafe,
impl<E> Send for NCT3933Error<E>where
E: Send,
impl<E> Sync for NCT3933Error<E>where
E: Sync,
impl<E> Unpin for NCT3933Error<E>where
E: Unpin,
impl<E> UnsafeUnpin for NCT3933Error<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for NCT3933Error<E>where
E: 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