pub struct PacketFlags {
pub header_type: u8,
pub context_flag: u8,
pub transport_type: u8,
pub destination_type: u8,
pub packet_type: u8,
}Fields§
§header_type: u8§context_flag: u8§transport_type: u8§destination_type: u8§packet_type: u8Implementations§
Trait Implementations§
Source§impl Clone for PacketFlags
impl Clone for PacketFlags
Source§fn clone(&self) -> PacketFlags
fn clone(&self) -> PacketFlags
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 PacketFlags
impl Debug for PacketFlags
Source§impl PartialEq for PacketFlags
impl PartialEq for PacketFlags
impl Copy for PacketFlags
impl Eq for PacketFlags
impl StructuralPartialEq for PacketFlags
Auto Trait Implementations§
impl Freeze for PacketFlags
impl RefUnwindSafe for PacketFlags
impl Send for PacketFlags
impl Sync for PacketFlags
impl Unpin for PacketFlags
impl UnwindSafe for PacketFlags
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