[−][src]Enum sen0177::Sen0177Error
Describes errors returned by the SEN0177 sensor
Variants
Device not found on the specified port
Device is in use or does not support required port configuration parameters
InvalidData(String)
Device returned invalid data
The checksum provided in the sensor data did not match the checksum of the data itself
Retrying the read will usually clear up the problem.
IoError(Error)
An IO error occurred when communicating with the serial port
Trait Implementations
impl Debug for Sen0177Error
[src]
impl Display for Sen0177Error
[src]
impl Error for Sen0177Error
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for Sen0177Error
[src]
fn from(err: SerialError) -> Self
[src]
impl From<Error> for Sen0177Error
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Sen0177Error
impl Send for Sen0177Error
impl Sync for Sen0177Error
impl Unpin for Sen0177Error
impl !UnwindSafe for Sen0177Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,