pub enum InterfaceEvent {
Added(String),
Removed(String),
}Expand description
An interface lifecycle event delivered by the watcher task.
Variants§
Added(String)
A new interface has appeared (or come up).
Removed(String)
An interface has been removed (or gone down permanently).
Trait Implementations§
Source§impl Clone for InterfaceEvent
impl Clone for InterfaceEvent
Source§fn clone(&self) -> InterfaceEvent
fn clone(&self) -> InterfaceEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 InterfaceEvent
impl RefUnwindSafe for InterfaceEvent
impl Send for InterfaceEvent
impl Sync for InterfaceEvent
impl Unpin for InterfaceEvent
impl UnwindSafe for InterfaceEvent
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