Enum ruuvi_sensor_protocol::ParseError [−][src]
pub enum ParseError { UnknownManufacturerId(u16), UnsupportedFormatVersion(u8), InvalidValueLength { version: u8, length: usize, expected: usize, }, EmptyValue, }
Variants
UnknownManufacturerId(u16)
UnsupportedFormatVersion(u8)
InvalidValueLength
Fields of InvalidValueLength
version: u8 | |
length: usize | |
expected: usize |
EmptyValue
Trait Implementations
impl Debug for ParseError
[src]
impl Debug for ParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ParseError
[src]
impl PartialEq for ParseError
fn eq(&self, other: &ParseError) -> bool
[src]
fn eq(&self, other: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParseError) -> bool
[src]
fn ne(&self, other: &ParseError) -> bool
This method tests for !=
.
impl Display for ParseError
[src]
impl Display for ParseError
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for ParseError
[src]
impl Error for ParseError
Auto Trait Implementations
impl Send for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Sync for ParseError