pub enum InitError<SE> {
    SpiError(SE),
    InvalidChipVersion {
        expected: u8,
        actual: u8,
    },
}Expand description
Error type when initializing a new Wiznet device
Variants§
SpiError(SE)
Error occurred when sending or receiving SPI data
InvalidChipVersion
The chip returned a version that isn’t expected or supported
Trait Implementations§
Auto Trait Implementations§
impl<SE> Freeze for InitError<SE>where
    SE: Freeze,
impl<SE> RefUnwindSafe for InitError<SE>where
    SE: RefUnwindSafe,
impl<SE> Send for InitError<SE>where
    SE: Send,
impl<SE> Sync for InitError<SE>where
    SE: Sync,
impl<SE> Unpin for InitError<SE>where
    SE: Unpin,
impl<SE> UnwindSafe for InitError<SE>where
    SE: 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