Struct netstack3_core::device::DeviceConfiguration
source · pub struct DeviceConfiguration {
pub arp: Option<ArpConfiguration>,
pub ndp: Option<NdpConfiguration>,
}
Expand description
Device link layer configuration.
Fields§
§arp: Option<ArpConfiguration>
ARP configurations.
Only present if the device supports ARP.
ndp: Option<NdpConfiguration>
NDP configurations.
Only present if the device supports NDP.
Trait Implementations§
source§impl Clone for DeviceConfiguration
impl Clone for DeviceConfiguration
source§fn clone(&self) -> DeviceConfiguration
fn clone(&self) -> DeviceConfiguration
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DeviceConfiguration
impl RefUnwindSafe for DeviceConfiguration
impl Send for DeviceConfiguration
impl Sync for DeviceConfiguration
impl Unpin for DeviceConfiguration
impl UnwindSafe for DeviceConfiguration
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
source§fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
Handle a timer firing.