Enum infrared::receiver::DecodingError
source · pub enum DecodingError {
Address,
Data,
Validation,
RemoteControlError,
}
Expand description
Decode State machine error
Variants§
Address
Error while decoding address
Data
Error decoding data bits
Validation
Validation Error
RemoteControlError
Remotecontrol decode error
Trait Implementations§
source§impl Clone for DecodingError
impl Clone for DecodingError
source§fn clone(&self) -> DecodingError
fn clone(&self) -> DecodingError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecodingError
impl Debug for DecodingError
source§impl<PinErr> From<DecodingError> for Error<PinErr>
impl<PinErr> From<DecodingError> for Error<PinErr>
source§fn from(derr: DecodingError) -> Error<PinErr>
fn from(derr: DecodingError) -> Error<PinErr>
Converts to this type from the input type.
source§impl PartialEq<DecodingError> for DecodingError
impl PartialEq<DecodingError> for DecodingError
source§fn eq(&self, other: &DecodingError) -> bool
fn eq(&self, other: &DecodingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.