#[non_exhaustive]pub enum WirelessDeviceStatusEvent {
StatusBroadcast(WirelessDeviceStatusBroadcast),
}Expand description
Represents an event emitted by the WirelessDeviceStatusFeature
feature.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StatusBroadcast(WirelessDeviceStatusBroadcast)
Is emitted whenever a device (re)connects to the host.
This event is always enabled.
Trait Implementations§
Source§impl Clone for WirelessDeviceStatusEvent
impl Clone for WirelessDeviceStatusEvent
Source§fn clone(&self) -> WirelessDeviceStatusEvent
fn clone(&self) -> WirelessDeviceStatusEvent
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 moreimpl Copy for WirelessDeviceStatusEvent
Source§impl Debug for WirelessDeviceStatusEvent
impl Debug for WirelessDeviceStatusEvent
Source§impl EmittingFeature<WirelessDeviceStatusEvent> for WirelessDeviceStatusFeature
impl EmittingFeature<WirelessDeviceStatusEvent> for WirelessDeviceStatusFeature
Source§fn listen(&self) -> Receiver<WirelessDeviceStatusEvent>
fn listen(&self) -> Receiver<WirelessDeviceStatusEvent>
Creates a receiver that is being notified whenever a new event of type
T is emitted by the feature.impl Eq for WirelessDeviceStatusEvent
Source§impl Hash for WirelessDeviceStatusEvent
impl Hash for WirelessDeviceStatusEvent
Source§impl PartialEq for WirelessDeviceStatusEvent
impl PartialEq for WirelessDeviceStatusEvent
Source§fn eq(&self, other: &WirelessDeviceStatusEvent) -> bool
fn eq(&self, other: &WirelessDeviceStatusEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WirelessDeviceStatusEvent
Auto Trait Implementations§
impl Freeze for WirelessDeviceStatusEvent
impl RefUnwindSafe for WirelessDeviceStatusEvent
impl Send for WirelessDeviceStatusEvent
impl Sync for WirelessDeviceStatusEvent
impl Unpin for WirelessDeviceStatusEvent
impl UnsafeUnpin for WirelessDeviceStatusEvent
impl UnwindSafe for WirelessDeviceStatusEvent
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