pub enum InitError<BusError> {
Bus(BusError),
InvalidDeviceId,
}
Expand description
All possible errors that may occur in device initialization
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<BusError> Freeze for InitError<BusError>where
BusError: Freeze,
impl<BusError> RefUnwindSafe for InitError<BusError>where
BusError: RefUnwindSafe,
impl<BusError> Send for InitError<BusError>where
BusError: Send,
impl<BusError> Sync for InitError<BusError>where
BusError: Sync,
impl<BusError> Unpin for InitError<BusError>where
BusError: Unpin,
impl<BusError> UnwindSafe for InitError<BusError>where
BusError: 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