#[repr(C)]pub struct ConfigData {
pub received_queue_timeout_value: u32,
pub transmit_queue_timeout_value: u32,
pub protocol_type_filter: u16,
pub enable_unicast_receive: Boolean,
pub enable_multicast_receive: Boolean,
pub enable_broadcast_receive: Boolean,
pub enable_promiscuous_receive: Boolean,
pub flush_queues_on_reset: Boolean,
pub enable_receive_timestamps: Boolean,
pub disable_background_polling: Boolean,
}
Fields§
§received_queue_timeout_value: u32
§transmit_queue_timeout_value: u32
§protocol_type_filter: u16
§enable_unicast_receive: Boolean
§enable_multicast_receive: Boolean
§enable_broadcast_receive: Boolean
§enable_promiscuous_receive: Boolean
§flush_queues_on_reset: Boolean
§enable_receive_timestamps: Boolean
§disable_background_polling: Boolean
Trait Implementations§
Source§impl Clone for ConfigData
impl Clone for ConfigData
Source§fn clone(&self) -> ConfigData
fn clone(&self) -> ConfigData
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 ConfigData
impl Debug for ConfigData
impl Copy for ConfigData
Auto Trait Implementations§
impl Freeze for ConfigData
impl RefUnwindSafe for ConfigData
impl Send for ConfigData
impl Sync for ConfigData
impl Unpin for ConfigData
impl UnwindSafe for ConfigData
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