Struct netstack3_core::ip::SlaacConfiguration
source · pub struct SlaacConfiguration {
pub enable_stable_addresses: bool,
pub temporary_address_configuration: Option<TemporarySlaacAddressConfiguration>,
}
Expand description
The configuration for SLAAC.
Fields§
§enable_stable_addresses: bool
Configuration to enable stable address assignment.
temporary_address_configuration: Option<TemporarySlaacAddressConfiguration>
Configuration for temporary address assignment.
If None
, temporary addresses will not be assigned to interfaces, and
any already-assigned temporary addresses will be removed.
If Some, specifies the configuration parameters for temporary addressing, including those relating to how long temporary addresses should remain preferred and valid.
Trait Implementations§
source§impl Clone for SlaacConfiguration
impl Clone for SlaacConfiguration
source§fn clone(&self) -> SlaacConfiguration
fn clone(&self) -> SlaacConfiguration
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 SlaacConfiguration
impl Debug for SlaacConfiguration
source§impl Default for SlaacConfiguration
impl Default for SlaacConfiguration
source§fn default() -> SlaacConfiguration
fn default() -> SlaacConfiguration
Returns the “default value” for a type. Read more
source§impl PartialEq for SlaacConfiguration
impl PartialEq for SlaacConfiguration
source§fn eq(&self, other: &SlaacConfiguration) -> bool
fn eq(&self, other: &SlaacConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SlaacConfiguration
impl Eq for SlaacConfiguration
impl StructuralPartialEq for SlaacConfiguration
Auto Trait Implementations§
impl Freeze for SlaacConfiguration
impl RefUnwindSafe for SlaacConfiguration
impl Send for SlaacConfiguration
impl Sync for SlaacConfiguration
impl Unpin for SlaacConfiguration
impl UnwindSafe for SlaacConfiguration
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.