pub enum NecFrameDecodeError {
AddressMismatch,
DataMismatch,
AddressAndDataMismatch,
}Expand description
NEC frames send the address and data as normal and inverted bits. These are the errors you can get when trying to decode a raw Frame
Variants§
AddressMismatch
Address and inverted address did not match
DataMismatch
Data and inverted data did not match
AddressAndDataMismatch
Both address and data do not match the inverted value
Trait Implementations§
Source§impl Debug for NecFrameDecodeError
impl Debug for NecFrameDecodeError
Auto Trait Implementations§
impl Freeze for NecFrameDecodeError
impl RefUnwindSafe for NecFrameDecodeError
impl Send for NecFrameDecodeError
impl Sync for NecFrameDecodeError
impl Unpin for NecFrameDecodeError
impl UnsafeUnpin for NecFrameDecodeError
impl UnwindSafe for NecFrameDecodeError
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