pub struct SlaacAddrsMutAndConfig<'a, BT: SlaacBindingsTypes, A: SlaacAddresses<BT>> {
pub addrs: &'a mut A,
pub config: SlaacConfiguration,
pub dad_transmits: Option<NonZeroU16>,
pub retrans_timer: Duration,
pub interface_identifier: [u8; 8],
pub temp_secret_key: IidSecret,
pub _marker: PhantomData<BT>,
}
Expand description
Supports [SlaacContext::with_slaac_addrs_mut_and_config
].
Contains the fields necessary for the SLAAC state machine.
Fields§
§addrs: &'a mut A
The device’s SLAAC address.
config: SlaacConfiguration
The current config for the device.
dad_transmits: Option<NonZeroU16>
The configured number of DAD transmits.
retrans_timer: Duration
THhe configured retransmission timer (can be learned from the network).
interface_identifier: [u8; 8]
The device’s interface identifier.
temp_secret_key: IidSecret
Secret key for generating temporary addresses.
_marker: PhantomData<BT>
Auto Trait Implementations§
impl<'a, BT, A> Freeze for SlaacAddrsMutAndConfig<'a, BT, A>
impl<'a, BT, A> RefUnwindSafe for SlaacAddrsMutAndConfig<'a, BT, A>where
A: RefUnwindSafe,
BT: RefUnwindSafe,
impl<'a, BT, A> Send for SlaacAddrsMutAndConfig<'a, BT, A>
impl<'a, BT, A> Sync for SlaacAddrsMutAndConfig<'a, BT, A>
impl<'a, BT, A> Unpin for SlaacAddrsMutAndConfig<'a, BT, A>where
BT: Unpin,
impl<'a, BT, A> !UnwindSafe for SlaacAddrsMutAndConfig<'a, BT, A>
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<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