pub enum Ipv6DeviceTimerId<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> {
Mld(MldTimerId<D>),
Dad(DadTimerId<D, A>),
Rs(RsTimerId<D>),
RouteDiscovery(Ipv6DiscoveredRouteTimerId<D>),
Slaac(SlaacTimerId<D>),
}
Expand description
A timer ID for IPv6 devices.
Variants§
Mld(MldTimerId<D>)
Dad(DadTimerId<D, A>)
Rs(RsTimerId<D>)
RouteDiscovery(Ipv6DiscoveredRouteTimerId<D>)
Slaac(SlaacTimerId<D>)
Implementations§
Source§impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> Ipv6DeviceTimerId<D, A>
impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> Ipv6DeviceTimerId<D, A>
Sourcepub fn into_common<S: IpAddressIdSpec<WeakV6 = A>>(
self,
) -> IpDeviceTimerId<Ipv6, D, S>
pub fn into_common<S: IpAddressIdSpec<WeakV6 = A>>( self, ) -> IpDeviceTimerId<Ipv6, D, S>
Transforms this timer ID into the common IpDeviceTimerId
version.
Trait Implementations§
Source§impl<D: Clone + WeakDeviceIdentifier, A: Clone + WeakIpAddressId<Ipv6Addr>> Clone for Ipv6DeviceTimerId<D, A>
impl<D: Clone + WeakDeviceIdentifier, A: Clone + WeakIpAddressId<Ipv6Addr>> Clone for Ipv6DeviceTimerId<D, A>
Source§fn clone(&self) -> Ipv6DeviceTimerId<D, A>
fn clone(&self) -> Ipv6DeviceTimerId<D, A>
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<D: Debug + WeakDeviceIdentifier, A: Debug + WeakIpAddressId<Ipv6Addr>> Debug for Ipv6DeviceTimerId<D, A>
impl<D: Debug + WeakDeviceIdentifier, A: Debug + WeakIpAddressId<Ipv6Addr>> Debug for Ipv6DeviceTimerId<D, A>
Source§impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> From<DadTimerId<D, A>> for Ipv6DeviceTimerId<D, A>
impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> From<DadTimerId<D, A>> for Ipv6DeviceTimerId<D, A>
Source§fn from(id: DadTimerId<D, A>) -> Ipv6DeviceTimerId<D, A>
fn from(id: DadTimerId<D, A>) -> Ipv6DeviceTimerId<D, A>
Converts to this type from the input type.
Source§impl<D: WeakDeviceIdentifier, A: IpAddressIdSpec> From<IpDeviceTimerId<Ipv6, D, A>> for Ipv6DeviceTimerId<D, A::WeakV6>
impl<D: WeakDeviceIdentifier, A: IpAddressIdSpec> From<IpDeviceTimerId<Ipv6, D, A>> for Ipv6DeviceTimerId<D, A::WeakV6>
Source§fn from(IpDeviceTimerId: IpDeviceTimerId<Ipv6, D, A>) -> Self
fn from(IpDeviceTimerId: IpDeviceTimerId<Ipv6, D, A>) -> Self
Converts to this type from the input type.
Source§impl<D: WeakDeviceIdentifier, A: IpAddressIdSpec> From<Ipv6DeviceTimerId<D, <A as IpAddressIdSpec>::WeakV6>> for IpDeviceTimerId<Ipv6, D, A>
impl<D: WeakDeviceIdentifier, A: IpAddressIdSpec> From<Ipv6DeviceTimerId<D, <A as IpAddressIdSpec>::WeakV6>> for IpDeviceTimerId<Ipv6, D, A>
Source§fn from(value: Ipv6DeviceTimerId<D, A::WeakV6>) -> Self
fn from(value: Ipv6DeviceTimerId<D, A::WeakV6>) -> Self
Converts to this type from the input type.
Source§impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> From<MldTimerId<D>> for Ipv6DeviceTimerId<D, A>
impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> From<MldTimerId<D>> for Ipv6DeviceTimerId<D, A>
Source§fn from(id: MldTimerId<D>) -> Ipv6DeviceTimerId<D, A>
fn from(id: MldTimerId<D>) -> Ipv6DeviceTimerId<D, A>
Converts to this type from the input type.
Source§impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> From<RsTimerId<D>> for Ipv6DeviceTimerId<D, A>
impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> From<RsTimerId<D>> for Ipv6DeviceTimerId<D, A>
Source§fn from(id: RsTimerId<D>) -> Ipv6DeviceTimerId<D, A>
fn from(id: RsTimerId<D>) -> Ipv6DeviceTimerId<D, A>
Converts to this type from the input type.
Source§impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> From<SlaacTimerId<D>> for Ipv6DeviceTimerId<D, A>
impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> From<SlaacTimerId<D>> for Ipv6DeviceTimerId<D, A>
Source§fn from(id: SlaacTimerId<D>) -> Ipv6DeviceTimerId<D, A>
fn from(id: SlaacTimerId<D>) -> Ipv6DeviceTimerId<D, A>
Converts to this type from the input type.
Source§impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>, BC: TimerBindingsTypes, CC: TimerHandler<BC, RsTimerId<D>> + TimerHandler<BC, Ipv6DiscoveredRouteTimerId<D>> + TimerHandler<BC, MldTimerId<D>> + TimerHandler<BC, SlaacTimerId<D>> + TimerHandler<BC, DadTimerId<D, A>>> HandleableTimer<CC, BC> for Ipv6DeviceTimerId<D, A>
impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>, BC: TimerBindingsTypes, CC: TimerHandler<BC, RsTimerId<D>> + TimerHandler<BC, Ipv6DiscoveredRouteTimerId<D>> + TimerHandler<BC, MldTimerId<D>> + TimerHandler<BC, SlaacTimerId<D>> + TimerHandler<BC, DadTimerId<D, A>>> HandleableTimer<CC, BC> for Ipv6DeviceTimerId<D, A>
Source§impl<D: Hash + WeakDeviceIdentifier, A: Hash + WeakIpAddressId<Ipv6Addr>> Hash for Ipv6DeviceTimerId<D, A>
impl<D: Hash + WeakDeviceIdentifier, A: Hash + WeakIpAddressId<Ipv6Addr>> Hash for Ipv6DeviceTimerId<D, A>
Source§impl<D: PartialEq + WeakDeviceIdentifier, A: PartialEq + WeakIpAddressId<Ipv6Addr>> PartialEq for Ipv6DeviceTimerId<D, A>
impl<D: PartialEq + WeakDeviceIdentifier, A: PartialEq + WeakIpAddressId<Ipv6Addr>> PartialEq for Ipv6DeviceTimerId<D, A>
impl<D: Copy + WeakDeviceIdentifier, A: Copy + WeakIpAddressId<Ipv6Addr>> Copy for Ipv6DeviceTimerId<D, A>
impl<D: Eq + WeakDeviceIdentifier, A: Eq + WeakIpAddressId<Ipv6Addr>> Eq for Ipv6DeviceTimerId<D, A>
impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> StructuralPartialEq for Ipv6DeviceTimerId<D, A>
Auto Trait Implementations§
impl<D, A> Freeze for Ipv6DeviceTimerId<D, A>
impl<D, A> RefUnwindSafe for Ipv6DeviceTimerId<D, A>where
D: RefUnwindSafe,
A: RefUnwindSafe,
impl<D, A> Send for Ipv6DeviceTimerId<D, A>
impl<D, A> Sync for Ipv6DeviceTimerId<D, A>
impl<D, A> Unpin for Ipv6DeviceTimerId<D, A>
impl<D, A> UnwindSafe for Ipv6DeviceTimerId<D, A>where
D: UnwindSafe,
A: 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