pub enum Error<SpiError> {
SpiError(SpiError),
EncodeError(EncoderError),
PayloadTooBig,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<SpiError> Freeze for Error<SpiError>where
SpiError: Freeze,
impl<SpiError> RefUnwindSafe for Error<SpiError>where
SpiError: RefUnwindSafe,
impl<SpiError> Send for Error<SpiError>where
SpiError: Send,
impl<SpiError> Sync for Error<SpiError>where
SpiError: Sync,
impl<SpiError> Unpin for Error<SpiError>where
SpiError: Unpin,
impl<SpiError> UnwindSafe for Error<SpiError>where
SpiError: 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