pub trait WithIpv6DeviceConfigurationMutInner<BC: IpDeviceBindingsContext<Ipv6, Self::DeviceId>>: WithIpDeviceConfigurationMutInner<Ipv6, BC> {
type Ipv6DeviceStateCtx<'s>: Ipv6DeviceContext<BC, DeviceId = Self::DeviceId> + GmpHandler<Ipv6, BC> + NudIpHandler<Ipv6, BC> + DadHandler<Ipv6, BC> + RsHandler<BC> + SlaacHandler<BC> + RouteDiscoveryHandler<BC> + 's
where Self: 's;
// Required method
fn ipv6_device_configuration_and_ctx(
&mut self,
) -> (&Ipv6DeviceConfiguration, Self::Ipv6DeviceStateCtx<'_>);
}
Expand description
The context provided to the callback passed to
Ipv6DeviceConfigurationContext::with_ipv6_device_configuration_mut
.
Required Associated Types§
Sourcetype Ipv6DeviceStateCtx<'s>: Ipv6DeviceContext<BC, DeviceId = Self::DeviceId> + GmpHandler<Ipv6, BC> + NudIpHandler<Ipv6, BC> + DadHandler<Ipv6, BC> + RsHandler<BC> + SlaacHandler<BC> + RouteDiscoveryHandler<BC> + 's
where
Self: 's
type Ipv6DeviceStateCtx<'s>: Ipv6DeviceContext<BC, DeviceId = Self::DeviceId> + GmpHandler<Ipv6, BC> + NudIpHandler<Ipv6, BC> + DadHandler<Ipv6, BC> + RsHandler<BC> + SlaacHandler<BC> + RouteDiscoveryHandler<BC> + 's where Self: 's
The inner IPv6 device state context.
Required Methods§
Sourcefn ipv6_device_configuration_and_ctx(
&mut self,
) -> (&Ipv6DeviceConfiguration, Self::Ipv6DeviceStateCtx<'_>)
fn ipv6_device_configuration_and_ctx( &mut self, ) -> (&Ipv6DeviceConfiguration, Self::Ipv6DeviceStateCtx<'_>)
Returns an immutable reference to a device’s IPv6 configuration and an
Ipv6DeviceStateCtx
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.