pub enum ReadVersion {
Single(MavlinkVersion),
Any,
}
Expand description
MAVLink Version selection when attempting to read
Variants§
Single(MavlinkVersion)
Only attempt to read using a single MAVLink version
Any
Attempt to read messages from both MAVLink versions
Trait Implementations§
Source§impl Clone for ReadVersion
impl Clone for ReadVersion
Source§fn clone(&self) -> ReadVersion
fn clone(&self) -> ReadVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReadVersion
impl Debug for ReadVersion
Source§impl From<MavlinkVersion> for ReadVersion
impl From<MavlinkVersion> for ReadVersion
Source§fn from(value: MavlinkVersion) -> ReadVersion
fn from(value: MavlinkVersion) -> ReadVersion
Converts to this type from the input type.
Source§impl PartialEq for ReadVersion
impl PartialEq for ReadVersion
impl Copy for ReadVersion
impl Eq for ReadVersion
impl StructuralPartialEq for ReadVersion
Auto Trait Implementations§
impl Freeze for ReadVersion
impl RefUnwindSafe for ReadVersion
impl Send for ReadVersion
impl Sync for ReadVersion
impl Unpin for ReadVersion
impl UnwindSafe for ReadVersion
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