Enum host_watcher::HostEvent
source · pub enum HostEvent {
Discoverable(bool),
NewActiveHost {
discoverable: bool,
},
NotAvailable,
}
Expand description
Item type returned by <HostWatcher as Stream>::poll_next
.
Variants§
Discoverable(bool)
The existing active host changed discoverable state.
NewActiveHost
There is a new active host.
NotAvailable
There is no active host.
Trait Implementations§
source§impl PartialEq for HostEvent
impl PartialEq for HostEvent
impl Copy for HostEvent
impl StructuralPartialEq for HostEvent
Auto Trait Implementations§
impl Freeze for HostEvent
impl RefUnwindSafe for HostEvent
impl Send for HostEvent
impl Sync for HostEvent
impl Unpin for HostEvent
impl UnwindSafe for HostEvent
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