pub struct Options {
pub stale_secs: u64,
pub uid_prefix: String,
pub reject_invalid: bool,
}Expand description
How MAVLink-M messages become events.
Fields§
§stale_secs: u64Seconds until stale (default 30).
uid_prefix: StringUID prefix of the events this module makes (default "mavlink-m-").
reject_invalid: boolDrop messages that fail super::validate::check_payload (default
true). The dialect requires receivers to reject undefined values of
its protected enums rather than guess.
Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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