pub enum DeviceUpdate {
Added(String),
Removed(String),
}
Expand description
A device has been added or removed.
See also TasmotaClient::devices
.
Variants§
Added(String)
A new device has been discovered, or a previously offline device has come back
Removed(String)
A previously discovered device has gone offline
Trait Implementations§
Source§impl Clone for DeviceUpdate
impl Clone for DeviceUpdate
Source§fn clone(&self) -> DeviceUpdate
fn clone(&self) -> DeviceUpdate
Returns a copy 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 DeviceUpdate
impl RefUnwindSafe for DeviceUpdate
impl Send for DeviceUpdate
impl Sync for DeviceUpdate
impl Unpin for DeviceUpdate
impl UnwindSafe for DeviceUpdate
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