pub struct NudTimerId<I: Ip, L: LinkDevice, D: WeakDeviceIdentifier> { /* private fields */ }
Expand description
The timer ID for the NUD module.
Trait Implementations§
Source§impl<I: Clone + Ip, L: Clone + LinkDevice, D: Clone + WeakDeviceIdentifier> Clone for NudTimerId<I, L, D>
impl<I: Clone + Ip, L: Clone + LinkDevice, D: Clone + WeakDeviceIdentifier> Clone for NudTimerId<I, L, D>
Source§fn clone(&self) -> NudTimerId<I, L, D>
fn clone(&self) -> NudTimerId<I, L, D>
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<I: Debug + Ip, L: Debug + LinkDevice, D: Debug + WeakDeviceIdentifier> Debug for NudTimerId<I, L, D>
impl<I: Debug + Ip, L: Debug + LinkDevice, D: Debug + WeakDeviceIdentifier> Debug for NudTimerId<I, L, D>
Source§impl<I: Ip, L: LinkDevice, D: WeakDeviceIdentifier, IpType> GenericOverIp<IpType> for NudTimerId<I, L, D>where
IpType: Ip,
impl<I: Ip, L: LinkDevice, D: WeakDeviceIdentifier, IpType> GenericOverIp<IpType> for NudTimerId<I, L, D>where
IpType: Ip,
Source§type Type = NudTimerId<IpType, L, D>
type Type = NudTimerId<IpType, L, D>
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.Source§impl<I: NudIcmpIpExt, D: LinkDevice, BC: NudBindingsContext<I, D, CC::DeviceId>, CC: NudContext<I, D, BC> + NudIcmpContext<I, D, BC> + CounterContext<NudCounters<I>>> HandleableTimer<CC, BC> for NudTimerId<I, D, CC::WeakDeviceId>
impl<I: NudIcmpIpExt, D: LinkDevice, BC: NudBindingsContext<I, D, CC::DeviceId>, CC: NudContext<I, D, BC> + NudIcmpContext<I, D, BC> + CounterContext<NudCounters<I>>> HandleableTimer<CC, BC> for NudTimerId<I, D, CC::WeakDeviceId>
Source§impl<I: Hash + Ip, L: Hash + LinkDevice, D: Hash + WeakDeviceIdentifier> Hash for NudTimerId<I, L, D>
impl<I: Hash + Ip, L: Hash + LinkDevice, D: Hash + WeakDeviceIdentifier> Hash for NudTimerId<I, L, D>
Source§impl<I: PartialEq + Ip, L: PartialEq + LinkDevice, D: PartialEq + WeakDeviceIdentifier> PartialEq for NudTimerId<I, L, D>
impl<I: PartialEq + Ip, L: PartialEq + LinkDevice, D: PartialEq + WeakDeviceIdentifier> PartialEq for NudTimerId<I, L, D>
impl<I: Copy + Ip, L: Copy + LinkDevice, D: Copy + WeakDeviceIdentifier> Copy for NudTimerId<I, L, D>
impl<I: Eq + Ip, L: Eq + LinkDevice, D: Eq + WeakDeviceIdentifier> Eq for NudTimerId<I, L, D>
impl<I: Ip, L: LinkDevice, D: WeakDeviceIdentifier> StructuralPartialEq for NudTimerId<I, L, D>
Auto Trait Implementations§
impl<I, L, D> Freeze for NudTimerId<I, L, D>where
D: Freeze,
impl<I, L, D> RefUnwindSafe for NudTimerId<I, L, D>
impl<I, L, D> Send for NudTimerId<I, L, D>where
L: Send,
impl<I, L, D> Sync for NudTimerId<I, L, D>where
L: Sync,
impl<I, L, D> Unpin for NudTimerId<I, L, D>
impl<I, L, D> UnwindSafe for NudTimerId<I, L, D>
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