#[repr(C)]pub struct ReceiveData {Show 14 fields
pub timestamp: Time,
pub recycle_event: Event,
pub packet_length: u32,
pub header_length: u32,
pub address_length: u32,
pub data_length: u32,
pub broadcast_flag: Boolean,
pub multicast_flag: Boolean,
pub promiscuous_flag: Boolean,
pub protocol_type: u16,
pub destination_address: *mut c_void,
pub source_address: *mut c_void,
pub media_header: *mut c_void,
pub packet_data: *mut c_void,
}Fields§
§timestamp: Time§recycle_event: Event§packet_length: u32§header_length: u32§address_length: u32§data_length: u32§broadcast_flag: Boolean§multicast_flag: Boolean§promiscuous_flag: Boolean§protocol_type: u16§destination_address: *mut c_void§source_address: *mut c_void§media_header: *mut c_void§packet_data: *mut c_voidTrait Implementations§
Source§impl Clone for ReceiveData
impl Clone for ReceiveData
impl Copy for ReceiveData
Auto Trait Implementations§
impl !Send for ReceiveData
impl !Sync for ReceiveData
impl Freeze for ReceiveData
impl RefUnwindSafe for ReceiveData
impl Unpin for ReceiveData
impl UnsafeUnpin for ReceiveData
impl UnwindSafe for ReceiveData
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