Enum Protocol
#[repr(u8)]pub enum Protocol {
Ble = 0,
Ieee802154 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
}Variants§
Ble = 0
Bluetooth Low Energy packet format.
Ieee802154 = 1
802.15.4 packet format.
_RESERVED_2 = 2
_RESERVED_3 = 3
Implementations§
Trait Implementations§
impl Copy for Protocol
impl Eq for Protocol
§impl Ord for Protocol
impl Ord for Protocol
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
§impl PartialOrd for Protocol
impl PartialOrd for Protocol
impl StructuralPartialEq for Protocol
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnsafeUnpin for Protocol
impl UnwindSafe for Protocol
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