pub enum PmbusError<E> {
Bus(E),
EncodingError,
InvalidResponseLength,
}Expand description
Errors that can occur during PMBus operations.
Variants§
Bus(E)
Underlying bus (I2C/SMBus) error.
EncodingError
A value could not be encoded into the PMBus format.
InvalidResponseLength
The device response had an unexpected length.
Trait Implementations§
Source§impl<E: Debug> Debug for PmbusError<E>
impl<E: Debug> Debug for PmbusError<E>
Auto Trait Implementations§
impl<E> Freeze for PmbusError<E>where
E: Freeze,
impl<E> RefUnwindSafe for PmbusError<E>where
E: RefUnwindSafe,
impl<E> Send for PmbusError<E>where
E: Send,
impl<E> Sync for PmbusError<E>where
E: Sync,
impl<E> Unpin for PmbusError<E>where
E: Unpin,
impl<E> UnwindSafe for PmbusError<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