pub enum Error<ConnErr> {
Conn(ConnErr),
Crc(u8, u8),
NoDevice,
}
Expand description
Scd30 error object
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<ConnErr> Freeze for Error<ConnErr>where
ConnErr: Freeze,
impl<ConnErr> RefUnwindSafe for Error<ConnErr>where
ConnErr: RefUnwindSafe,
impl<ConnErr> Send for Error<ConnErr>where
ConnErr: Send,
impl<ConnErr> Sync for Error<ConnErr>where
ConnErr: Sync,
impl<ConnErr> Unpin for Error<ConnErr>where
ConnErr: Unpin,
impl<ConnErr> UnwindSafe for Error<ConnErr>where
ConnErr: 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