pub struct Ipv6DeviceConfigurationUpdate {
pub dad_transmits: Option<Option<NonZero<u16>>>,
pub max_router_solicitations: Option<Option<NonZero<u8>>>,
pub slaac_config: SlaacConfigurationUpdate,
pub ip_config: IpDeviceConfigurationUpdate,
}
Expand description
An update to IPv6 device configuration.
Fields§
§dad_transmits: Option<Option<NonZero<u16>>>
A change in DAD transmits.
max_router_solicitations: Option<Option<NonZero<u8>>>
A change in maximum router solicitations.
slaac_config: SlaacConfigurationUpdate
A change in SLAAC configuration.
ip_config: IpDeviceConfigurationUpdate
A change in the IP device configuration.
Trait Implementations§
Source§impl AsRef<IpDeviceConfigurationUpdate> for Ipv6DeviceConfigurationUpdate
impl AsRef<IpDeviceConfigurationUpdate> for Ipv6DeviceConfigurationUpdate
Source§fn as_ref(&self) -> &IpDeviceConfigurationUpdate
fn as_ref(&self) -> &IpDeviceConfigurationUpdate
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for Ipv6DeviceConfigurationUpdate
impl Clone for Ipv6DeviceConfigurationUpdate
Source§fn clone(&self) -> Ipv6DeviceConfigurationUpdate
fn clone(&self) -> Ipv6DeviceConfigurationUpdate
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 Default for Ipv6DeviceConfigurationUpdate
impl Default for Ipv6DeviceConfigurationUpdate
Source§fn default() -> Ipv6DeviceConfigurationUpdate
fn default() -> Ipv6DeviceConfigurationUpdate
Returns the “default value” for a type. Read more
Source§impl From<IpDeviceConfigurationUpdate> for Ipv6DeviceConfigurationUpdate
impl From<IpDeviceConfigurationUpdate> for Ipv6DeviceConfigurationUpdate
Source§fn from(ip_config: IpDeviceConfigurationUpdate) -> Ipv6DeviceConfigurationUpdate
fn from(ip_config: IpDeviceConfigurationUpdate) -> Ipv6DeviceConfigurationUpdate
Converts to this type from the input type.
Source§impl PartialEq for Ipv6DeviceConfigurationUpdate
impl PartialEq for Ipv6DeviceConfigurationUpdate
Source§fn eq(&self, other: &Ipv6DeviceConfigurationUpdate) -> bool
fn eq(&self, other: &Ipv6DeviceConfigurationUpdate) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for Ipv6DeviceConfigurationUpdate
impl Eq for Ipv6DeviceConfigurationUpdate
impl StructuralPartialEq for Ipv6DeviceConfigurationUpdate
Auto Trait Implementations§
impl Freeze for Ipv6DeviceConfigurationUpdate
impl RefUnwindSafe for Ipv6DeviceConfigurationUpdate
impl Send for Ipv6DeviceConfigurationUpdate
impl Sync for Ipv6DeviceConfigurationUpdate
impl Unpin for Ipv6DeviceConfigurationUpdate
impl UnwindSafe for Ipv6DeviceConfigurationUpdate
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<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
impl<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
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
Source§impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
Source§type Data = <L as UnlockedAccessMarkerFor<T>>::Data
type Data = <L as UnlockedAccessMarkerFor<T>>::Data
The type of state being accessed.
Source§type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data
where
T: 'l
type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data where T: 'l
A guard providing read access to the data.
Source§fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
How to access the state.