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§
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
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
)