pub enum PacketFamily {
Broadcast,
MacAck,
Unicast,
Multicast,
BlindUnicast,
Reserved,
}Expand description
Coarser grouping of on-wire packet types.
This is useful for applications that care about “unicast-like” or “blind-unicast-like” traffic without matching both ACK and non-ACK packet variants individually.
Variants§
Implementations§
Source§impl PacketFamily
impl PacketFamily
pub fn includes(self, packet_type: PacketType) -> bool
Trait Implementations§
Source§impl Clone for PacketFamily
impl Clone for PacketFamily
Source§fn clone(&self) -> PacketFamily
fn clone(&self) -> PacketFamily
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PacketFamily
impl Debug for PacketFamily
Source§impl PartialEq for PacketFamily
impl PartialEq for PacketFamily
impl Copy for PacketFamily
impl Eq for PacketFamily
impl StructuralPartialEq for PacketFamily
Auto Trait Implementations§
impl Freeze for PacketFamily
impl RefUnwindSafe for PacketFamily
impl Send for PacketFamily
impl Sync for PacketFamily
impl Unpin for PacketFamily
impl UnwindSafe for PacketFamily
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)