#[non_exhaustive]#[repr(u8)]pub enum PacketAddress {
Transmitter = 238,
Handset = 234,
Controller = 200,
Receiver = 236,
}Expand description
Represents packet addresses
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for PacketAddress
impl Clone for PacketAddress
Source§fn clone(&self) -> PacketAddress
fn clone(&self) -> PacketAddress
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 PacketAddress
impl Debug for PacketAddress
Source§impl PartialEq for PacketAddress
impl PartialEq for PacketAddress
impl Copy for PacketAddress
impl Eq for PacketAddress
impl StructuralPartialEq for PacketAddress
Auto Trait Implementations§
impl Freeze for PacketAddress
impl RefUnwindSafe for PacketAddress
impl Send for PacketAddress
impl Sync for PacketAddress
impl Unpin for PacketAddress
impl UnwindSafe for PacketAddress
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