pub enum AutonomousState {
Normal,
Autonomous {
entered_at: Instant,
detection_attempts: u32,
},
}Expand description
Autonomous operation state
Variants§
Normal
Normal operation with connectivity to higher levels
Autonomous
Autonomous operation mode (partitioned from higher levels)
Trait Implementations§
Source§impl Clone for AutonomousState
impl Clone for AutonomousState
Source§fn clone(&self) -> AutonomousState
fn clone(&self) -> AutonomousState
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 moreSource§impl Debug for AutonomousState
impl Debug for AutonomousState
Source§impl Default for AutonomousState
impl Default for AutonomousState
Source§fn default() -> AutonomousState
fn default() -> AutonomousState
Returns the “default value” for a type. Read more
Source§impl PartialEq for AutonomousState
impl PartialEq for AutonomousState
impl Eq for AutonomousState
impl StructuralPartialEq for AutonomousState
Auto Trait Implementations§
impl Freeze for AutonomousState
impl RefUnwindSafe for AutonomousState
impl Send for AutonomousState
impl Sync for AutonomousState
impl Unpin for AutonomousState
impl UnsafeUnpin for AutonomousState
impl UnwindSafe for AutonomousState
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
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.