pub enum State {
Starting,
Live,
Failed,
Unreachable,
Stopped,
Gone,
}Expand description
How a point’s watch is going.
Variants§
Starting
Its first read hasn’t finished.
Live
Subscribed, or the last poll answered.
Failed
The device answered the last read with an error for the whole
object (see Snapshot::note).
Unreachable
The device didn’t answer the last request.
Stopped
The watch ended (the hub shut down).
Gone
Nothing watches it any more: its device isn’t in the discovery
table and WatchOptions::missing says not to wait for it (see
Snapshot::note).
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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