pub enum DiscoveryEventKind {
Added(CaptureTarget),
Removed(Arc<str>),
StateChanged(CaptureTarget),
DefaultDeviceChanged {
device_id: Arc<str>,
},
DefaultInputChanged {
device_id: Arc<str>,
},
WatcherFailed {
reason: Arc<str>,
},
VisibilityChanged(Visibility),
ResnapshotRequired {
minimum_revision: u64,
},
}Variants§
Added(CaptureTarget)
Removed(Arc<str>)
StateChanged(CaptureTarget)
DefaultDeviceChanged
DefaultInputChanged
WatcherFailed
VisibilityChanged(Visibility)
ResnapshotRequired
Trait Implementations§
Source§impl Clone for DiscoveryEventKind
impl Clone for DiscoveryEventKind
Source§fn clone(&self) -> DiscoveryEventKind
fn clone(&self) -> DiscoveryEventKind
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 moreSource§impl Debug for DiscoveryEventKind
impl Debug for DiscoveryEventKind
Source§impl PartialEq for DiscoveryEventKind
impl PartialEq for DiscoveryEventKind
impl StructuralPartialEq for DiscoveryEventKind
Auto Trait Implementations§
impl Freeze for DiscoveryEventKind
impl RefUnwindSafe for DiscoveryEventKind
impl Send for DiscoveryEventKind
impl Sync for DiscoveryEventKind
impl Unpin for DiscoveryEventKind
impl UnsafeUnpin for DiscoveryEventKind
impl UnwindSafe for DiscoveryEventKind
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