pub struct TemporarySlaacConfig<Instant> {
pub valid_until: Instant,
pub desync_factor: Duration,
pub creation_time: Instant,
pub dad_counter: u8,
}
Expand description
Configuration for a temporary IPv6 address assigned via SLAAC.
Fields§
§valid_until: Instant
The time at which the address is no longer valid.
desync_factor: Duration
The per-address DESYNC_FACTOR specified in RFC 8981 Section 3.4.
creation_time: Instant
The time at which the address was created.
dad_counter: u8
The DAD_Counter parameter specified by RFC 8981 Section 3.3.2.1. This is used to track the number of retries that occurred prior to picking this address.
Trait Implementations§
Source§impl<Instant: Clone> Clone for TemporarySlaacConfig<Instant>
impl<Instant: Clone> Clone for TemporarySlaacConfig<Instant>
Source§fn clone(&self) -> TemporarySlaacConfig<Instant>
fn clone(&self) -> TemporarySlaacConfig<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 TemporarySlaacConfig<Instant>
impl<Instant: Debug> Debug for TemporarySlaacConfig<Instant>
Source§impl<Instant: Hash> Hash for TemporarySlaacConfig<Instant>
impl<Instant: Hash> Hash for TemporarySlaacConfig<Instant>
Source§impl<Instant: PartialEq> PartialEq for TemporarySlaacConfig<Instant>
impl<Instant: PartialEq> PartialEq for TemporarySlaacConfig<Instant>
Source§fn eq(&self, other: &TemporarySlaacConfig<Instant>) -> bool
fn eq(&self, other: &TemporarySlaacConfig<Instant>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<Instant: Copy> Copy for TemporarySlaacConfig<Instant>
impl<Instant: Eq> Eq for TemporarySlaacConfig<Instant>
impl<Instant> StructuralPartialEq for TemporarySlaacConfig<Instant>
Auto Trait Implementations§
impl<Instant> Freeze for TemporarySlaacConfig<Instant>where
Instant: Freeze,
impl<Instant> RefUnwindSafe for TemporarySlaacConfig<Instant>where
Instant: RefUnwindSafe,
impl<Instant> Send for TemporarySlaacConfig<Instant>where
Instant: Send,
impl<Instant> Sync for TemporarySlaacConfig<Instant>where
Instant: Sync,
impl<Instant> Unpin for TemporarySlaacConfig<Instant>where
Instant: Unpin,
impl<Instant> UnwindSafe for TemporarySlaacConfig<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§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