pub enum DadEvent<I: IpDeviceIpExt, DeviceId> {
AddressAssigned {
device: DeviceId,
addr: I::AssignedWitness,
},
}
Expand description
Events generated by duplicate address detection.
Variants§
AddressAssigned
Duplicate address detection completed and the address is assigned.
Fields
§
device: DeviceId
Device the address belongs to.
§
addr: I::AssignedWitness
The address that moved to the assigned state.
Trait Implementations§
Source§impl<I: Debug + IpDeviceIpExt, DeviceId: Debug> Debug for DadEvent<I, DeviceId>where
I::AssignedWitness: Debug,
impl<I: Debug + IpDeviceIpExt, DeviceId: Debug> Debug for DadEvent<I, DeviceId>where
I::AssignedWitness: Debug,
Source§impl<I: Hash + IpDeviceIpExt, DeviceId: Hash> Hash for DadEvent<I, DeviceId>where
I::AssignedWitness: Hash,
impl<I: Hash + IpDeviceIpExt, DeviceId: Hash> Hash for DadEvent<I, DeviceId>where
I::AssignedWitness: Hash,
Source§impl<I: PartialEq + IpDeviceIpExt, DeviceId: PartialEq> PartialEq for DadEvent<I, DeviceId>where
I::AssignedWitness: PartialEq,
impl<I: PartialEq + IpDeviceIpExt, DeviceId: PartialEq> PartialEq for DadEvent<I, DeviceId>where
I::AssignedWitness: PartialEq,
impl<I: Eq + IpDeviceIpExt, DeviceId: Eq> Eq for DadEvent<I, DeviceId>where
I::AssignedWitness: Eq,
impl<I: IpDeviceIpExt, DeviceId> StructuralPartialEq for DadEvent<I, DeviceId>
Auto Trait Implementations§
impl<I, DeviceId> Freeze for DadEvent<I, DeviceId>
impl<I, DeviceId> RefUnwindSafe for DadEvent<I, DeviceId>
impl<I, DeviceId> Send for DadEvent<I, DeviceId>where
DeviceId: Send,
impl<I, DeviceId> Sync for DadEvent<I, DeviceId>where
DeviceId: Sync,
impl<I, DeviceId> Unpin for DadEvent<I, DeviceId>
impl<I, DeviceId> UnwindSafe for DadEvent<I, DeviceId>
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
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