Enum mavlink::error::MessageReadError
source · pub enum MessageReadError {
Io(Error),
Parse(ParserError),
}
Variants§
Trait Implementations§
source§impl Debug for MessageReadError
impl Debug for MessageReadError
source§impl Display for MessageReadError
impl Display for MessageReadError
source§impl Error for MessageReadError
Available on crate feature std
only.
impl Error for MessageReadError
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<Error> for MessageReadError
Available on crate feature std
only.
impl From<Error> for MessageReadError
Available on crate feature
std
only.source§fn from(e: Error) -> MessageReadError
fn from(e: Error) -> MessageReadError
Converts to this type from the input type.
source§impl From<ParserError> for MessageReadError
impl From<ParserError> for MessageReadError
source§fn from(e: ParserError) -> MessageReadError
fn from(e: ParserError) -> MessageReadError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MessageReadError
impl !RefUnwindSafe for MessageReadError
impl Send for MessageReadError
impl Sync for MessageReadError
impl Unpin for MessageReadError
impl !UnwindSafe for MessageReadError
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