pub struct Ipv6State<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> {
pub inner: IpStateInner<Ipv6, StrongDeviceId, BT>,
pub icmp: Icmpv6State<BT>,
pub slaac_counters: SlaacCounters,
pub slaac_temp_secret_key: IidSecret,
}
Expand description
The stack’s IPv6 state.
Fields§
§inner: IpStateInner<Ipv6, StrongDeviceId, BT>
The common inner IP layer state.
icmp: Icmpv6State<BT>
ICMPv6 state.
slaac_counters: SlaacCounters
Stateless address autoconfiguration counters.
slaac_temp_secret_key: IidSecret
Secret key used for generating SLAAC temporary addresses.
Trait Implementations§
Source§impl<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> AsRef<IpStateInner<Ipv6, StrongDeviceId, BT>> for Ipv6State<StrongDeviceId, BT>
impl<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes> AsRef<IpStateInner<Ipv6, StrongDeviceId, BT>> for Ipv6State<StrongDeviceId, BT>
Source§fn as_ref(&self) -> &IpStateInner<Ipv6, StrongDeviceId, BT>
fn as_ref(&self) -> &IpStateInner<Ipv6, StrongDeviceId, BT>
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl<StrongDeviceId, BT> !Freeze for Ipv6State<StrongDeviceId, BT>
impl<StrongDeviceId, BT> RefUnwindSafe for Ipv6State<StrongDeviceId, BT>
impl<StrongDeviceId, BT> Send for Ipv6State<StrongDeviceId, BT>where
<BT as InstantBindingsTypes>::AtomicInstant: Send,
<BT as FilterBindingsTypes>::DeviceClass: Sync + Send,
impl<StrongDeviceId, BT> Sync for Ipv6State<StrongDeviceId, BT>where
<BT as InstantBindingsTypes>::AtomicInstant: Send + Sync,
<BT as FilterBindingsTypes>::DeviceClass: Sync + Send,
impl<StrongDeviceId, BT> Unpin for Ipv6State<StrongDeviceId, BT>where
<BT as TimerBindingsTypes>::Timer: Unpin,
<BT as InstantBindingsTypes>::Instant: Unpin,
<BT as FilterBindingsTypes>::DeviceClass: Unpin,
impl<StrongDeviceId, BT> UnwindSafe for Ipv6State<StrongDeviceId, BT>
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