pub struct DeviceCollisionEvent {
pub retained: DiscoveredDevice,
pub incoming: DiscoveredDevice,
}Expand description
Notification emitted when two endpoints claim the same Device instance.
Fields§
§retained: DiscoveredDeviceSnapshot of the authoritative discovery-table row that was retained.
incoming: DiscoveredDeviceSnapshot constructed from the conflicting incoming I-Am.
Trait Implementations§
Source§impl Clone for DeviceCollisionEvent
impl Clone for DeviceCollisionEvent
Source§fn clone(&self) -> DeviceCollisionEvent
fn clone(&self) -> DeviceCollisionEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceCollisionEvent
impl RefUnwindSafe for DeviceCollisionEvent
impl Send for DeviceCollisionEvent
impl Sync for DeviceCollisionEvent
impl Unpin for DeviceCollisionEvent
impl UnsafeUnpin for DeviceCollisionEvent
impl UnwindSafe for DeviceCollisionEvent
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