pub enum DynamicDialectError {
Io {
path: PathBuf,
source: Error,
},
Xml(BindGenError),
DuplicateMessageId {
id: u32,
first: String,
second: String,
},
MessageIdOutOfRange {
id: u32,
name: String,
},
PayloadTooLong {
name: String,
length: usize,
},
}Available on crate feature
dialect-dynamic only.Expand description
An error returned while loading a runtime MAVLink dialect.
Variants§
Io
The XML dialect file could not be resolved.
Xml(BindGenError)
The MAVLink XML definition could not be loaded.
DuplicateMessageId
Two different messages use the same MAVLink message ID.
Fields
MessageIdOutOfRange
A message ID cannot be represented in a MAVLink 2 frame.
PayloadTooLong
A message payload does not fit in a MAVLink frame.
Trait Implementations§
Source§impl Debug for DynamicDialectError
impl Debug for DynamicDialectError
Source§impl Display for DynamicDialectError
impl Display for DynamicDialectError
Source§impl Error for DynamicDialectError
impl Error for DynamicDialectError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for DynamicDialectError
impl !UnwindSafe for DynamicDialectError
impl Freeze for DynamicDialectError
impl Send for DynamicDialectError
impl Sync for DynamicDialectError
impl Unpin for DynamicDialectError
impl UnsafeUnpin for DynamicDialectError
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