pub enum CommandEffect {
Continue,
PollNow,
Reconnect,
Shutdown,
}Expand description
Effect a successfully handled device command has on the polling loop.
Variants§
Continue
Keep the current schedule. The device may have changed its poll interval.
PollNow
Poll immediately.
Reconnect
Drop the device connection and reconnect.
Shutdown
Stop the daemon gracefully.
Trait Implementations§
Source§impl Clone for CommandEffect
impl Clone for CommandEffect
impl Copy for CommandEffect
Source§impl Debug for CommandEffect
impl Debug for CommandEffect
impl Eq for CommandEffect
Source§impl PartialEq for CommandEffect
impl PartialEq for CommandEffect
impl StructuralPartialEq for CommandEffect
Auto Trait Implementations§
impl Forget for CommandEffect
impl Freeze for CommandEffect
impl Move for CommandEffect
impl RefUnwindSafe for CommandEffect
impl Send for CommandEffect
impl Sync for CommandEffect
impl Unpin for CommandEffect
impl UnsafeUnpin for CommandEffect
impl UnwindSafe for CommandEffect
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.