Enum netstack3_ip::device::SlaacConfig
source · pub enum SlaacConfig<Instant> {
Static {
valid_until: Lifetime<Instant>,
},
Temporary(TemporarySlaacConfig<Instant>),
}
Expand description
Configuration for an IPv6 address assigned via SLAAC.
Variants§
Static
The address is static.
Temporary(TemporarySlaacConfig<Instant>)
The address is a temporary address, as specified by RFC 8981.
Trait Implementations§
source§impl<Instant: Clone> Clone for SlaacConfig<Instant>
impl<Instant: Clone> Clone for SlaacConfig<Instant>
source§fn clone(&self) -> SlaacConfig<Instant>
fn clone(&self) -> SlaacConfig<Instant>
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<Instant: Debug> Debug for SlaacConfig<Instant>
impl<Instant: Debug> Debug for SlaacConfig<Instant>
source§impl<Instant: Hash> Hash for SlaacConfig<Instant>
impl<Instant: Hash> Hash for SlaacConfig<Instant>
source§impl<Instant: PartialEq> PartialEq for SlaacConfig<Instant>
impl<Instant: PartialEq> PartialEq for SlaacConfig<Instant>
source§fn eq(&self, other: &SlaacConfig<Instant>) -> bool
fn eq(&self, other: &SlaacConfig<Instant>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<Instant: Copy> Copy for SlaacConfig<Instant>
impl<Instant: Eq> Eq for SlaacConfig<Instant>
impl<Instant> StructuralPartialEq for SlaacConfig<Instant>
Auto Trait Implementations§
impl<Instant> Freeze for SlaacConfig<Instant>where
Instant: Freeze,
impl<Instant> RefUnwindSafe for SlaacConfig<Instant>where
Instant: RefUnwindSafe,
impl<Instant> Send for SlaacConfig<Instant>where
Instant: Send,
impl<Instant> Sync for SlaacConfig<Instant>where
Instant: Sync,
impl<Instant> Unpin for SlaacConfig<Instant>where
Instant: Unpin,
impl<Instant> UnwindSafe for SlaacConfig<Instant>where
Instant: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more