#[repr(u8)]pub enum Transport {
Unknown = 0,
Bluetooth4 = 1,
Bluetooth5 = 2,
WifiBeacon = 3,
WifiNan = 4,
Other = 5,
}Expand description
The radio link a Remote ID frame arrived on.
Variants§
Unknown = 0
Not known.
Bluetooth4 = 1
Bluetooth 4 legacy advertising (one message per frame).
Bluetooth5 = 2
Bluetooth 5 extended or long range advertising (message packs).
WifiBeacon = 3
Wi-Fi Beacon vendor element.
WifiNan = 4
Wi-Fi NAN service discovery.
Other = 5
Another source chosen by the caller (for example a serial dongle).
Implementations§
Trait Implementations§
impl Copy for Transport
Source§impl<'de> Deserialize<'de> for Transport
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Transport
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Transport
Source§impl Ord for Transport
impl Ord for Transport
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Transport
impl PartialOrd for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl Forget for Transport
impl Freeze for Transport
impl Move for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnsafeUnpin for Transport
impl UnwindSafe for Transport
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