Struct netstack3_core::neighbor::NudUserConfigUpdate
source · pub struct NudUserConfigUpdate {
pub max_unicast_solicitations: Option<NonZeroU16>,
pub max_multicast_solicitations: Option<NonZeroU16>,
pub base_reachable_time: Option<NonZeroDuration>,
}
Expand description
An update structure for NudUserConfig
.
Only fields with variant Some
are updated.
Fields§
§max_unicast_solicitations: Option<NonZeroU16>
The maximum number of unicast solicitations as defined in [RFC 4861 section 10].
max_multicast_solicitations: Option<NonZeroU16>
The maximum number of multicast solicitations as defined in [RFC 4861 section 10].
base_reachable_time: Option<NonZeroDuration>
The base value used for computing the duration a neighbor is considered reachable after receiving a reachability confirmation as defined in RFC 4861 section 6.3.2.
Trait Implementations§
source§impl Clone for NudUserConfigUpdate
impl Clone for NudUserConfigUpdate
source§fn clone(&self) -> NudUserConfigUpdate
fn clone(&self) -> NudUserConfigUpdate
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 moresource§impl Debug for NudUserConfigUpdate
impl Debug for NudUserConfigUpdate
source§impl Default for NudUserConfigUpdate
impl Default for NudUserConfigUpdate
source§fn default() -> NudUserConfigUpdate
fn default() -> NudUserConfigUpdate
Returns the “default value” for a type. Read more
source§impl PartialEq for NudUserConfigUpdate
impl PartialEq for NudUserConfigUpdate
source§fn eq(&self, other: &NudUserConfigUpdate) -> bool
fn eq(&self, other: &NudUserConfigUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NudUserConfigUpdate
impl StructuralPartialEq for NudUserConfigUpdate
Auto Trait Implementations§
impl Freeze for NudUserConfigUpdate
impl RefUnwindSafe for NudUserConfigUpdate
impl Send for NudUserConfigUpdate
impl Sync for NudUserConfigUpdate
impl Unpin for NudUserConfigUpdate
impl UnwindSafe for NudUserConfigUpdate
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.