pub struct DadTimerId<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> { /* private fields */ }
Expand description
A timer ID for duplicate address detection.
Trait Implementations§
Source§impl<D: Clone + WeakDeviceIdentifier, A: Clone + WeakIpAddressId<Ipv6Addr>> Clone for DadTimerId<D, A>
impl<D: Clone + WeakDeviceIdentifier, A: Clone + WeakIpAddressId<Ipv6Addr>> Clone for DadTimerId<D, A>
Source§fn clone(&self) -> DadTimerId<D, A>
fn clone(&self) -> DadTimerId<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 DadTimerId<D, A>
impl<D: Debug + WeakDeviceIdentifier, A: Debug + WeakIpAddressId<Ipv6Addr>> Debug for DadTimerId<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<BC: DadBindingsContext<CC::OuterEvent>, CC: DadContext<BC>> HandleableTimer<CC, BC> for DadTimerId<CC::WeakDeviceId, CC::WeakAddressId>
impl<BC: DadBindingsContext<CC::OuterEvent>, CC: DadContext<BC>> HandleableTimer<CC, BC> for DadTimerId<CC::WeakDeviceId, CC::WeakAddressId>
Source§impl<D: Hash + WeakDeviceIdentifier, A: Hash + WeakIpAddressId<Ipv6Addr>> Hash for DadTimerId<D, A>
impl<D: Hash + WeakDeviceIdentifier, A: Hash + WeakIpAddressId<Ipv6Addr>> Hash for DadTimerId<D, A>
Source§impl<D: PartialEq + WeakDeviceIdentifier, A: PartialEq + WeakIpAddressId<Ipv6Addr>> PartialEq for DadTimerId<D, A>
impl<D: PartialEq + WeakDeviceIdentifier, A: PartialEq + WeakIpAddressId<Ipv6Addr>> PartialEq for DadTimerId<D, A>
impl<D: Copy + WeakDeviceIdentifier, A: Copy + WeakIpAddressId<Ipv6Addr>> Copy for DadTimerId<D, A>
impl<D: Eq + WeakDeviceIdentifier, A: Eq + WeakIpAddressId<Ipv6Addr>> Eq for DadTimerId<D, A>
impl<D: WeakDeviceIdentifier, A: WeakIpAddressId<Ipv6Addr>> StructuralPartialEq for DadTimerId<D, A>
Auto Trait Implementations§
impl<D, A> Freeze for DadTimerId<D, A>
impl<D, A> RefUnwindSafe for DadTimerId<D, A>where
D: RefUnwindSafe,
A: RefUnwindSafe,
impl<D, A> Send for DadTimerId<D, A>
impl<D, A> Sync for DadTimerId<D, A>
impl<D, A> Unpin for DadTimerId<D, A>
impl<D, A> UnwindSafe for DadTimerId<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