pub enum ParserError {
    InvalidFlag {
        flag_type: &'static str,
        value: u64,
    },
    InvalidEnum {
        enum_type: &'static str,
        value: u64,
    },
    UnknownMessage {
        id: u32,
    },
    BytesError(Error),
}Expand description
Error while parsing a MAVLink message
Variants§
InvalidFlag
Bit flag for this type is invalid
InvalidEnum
Enum value for this enum type does not exist
UnknownMessage
Message ID does not exist in this message set
BytesError(Error)
Errors that occurred in the bytes module.
Trait Implementations§
Source§impl Debug for ParserError
 
impl Debug for ParserError
Source§impl Display for ParserError
 
impl Display for ParserError
Source§impl Error for ParserError
Available on crate feature std only. 
impl Error for ParserError
Available on crate feature 
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ParserError> for MessageReadError
 
impl From<ParserError> for MessageReadError
Source§fn from(e: ParserError) -> Self
 
fn from(e: ParserError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParserError
impl RefUnwindSafe for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Unpin for ParserError
impl UnwindSafe for ParserError
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