#[repr(u8)]pub enum MainStateEnum {
Stopped = 0,
Moving = 1,
WaitingForMotion = 2,
Error = 3,
Calibrating = 4,
Protected = 5,
Disengaged = 6,
SetupRequired = 7,
}Expand description
MainStateEnum.
Variants§
Stopped = 0
Closure is stopped
Moving = 1
Closure is actively moving
WaitingForMotion = 2
Closure is waiting before a motion (e.g. pre-heat, pre-check)
Error = 3
Closure is in an error state
Calibrating = 4
Closure is currently calibrating its Opened and Closed limits to determine effective physical range
Protected = 5
Some protective measures are activated to prevent damage to the closure. Commands MAY be rejected.
Disengaged = 6
Closure has a disengaged element preventing any actuator movements
SetupRequired = 7
Movement commands are ignored since the closure is not operational and requires further setup and/or calibration
Implementations§
Source§impl MainStateEnum
impl MainStateEnum
Trait Implementations§
Source§impl Clone for MainStateEnum
impl Clone for MainStateEnum
impl Copy for MainStateEnum
Source§impl Debug for MainStateEnum
impl Debug for MainStateEnum
impl Eq for MainStateEnum
Source§impl<'a> FromTlv<'a> for MainStateEnum
impl<'a> FromTlv<'a> for MainStateEnum
Source§impl Hash for MainStateEnum
impl Hash for MainStateEnum
Source§impl Ord for MainStateEnum
impl Ord for MainStateEnum
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MainStateEnum
impl PartialEq for MainStateEnum
Source§impl PartialOrd for MainStateEnum
impl PartialOrd for MainStateEnum
impl StructuralPartialEq for MainStateEnum
Auto Trait Implementations§
impl Forget for MainStateEnum
impl Freeze for MainStateEnum
impl Move for MainStateEnum
impl RefUnwindSafe for MainStateEnum
impl Send for MainStateEnum
impl Sync for MainStateEnum
impl Unpin for MainStateEnum
impl UnsafeUnpin for MainStateEnum
impl UnwindSafe for MainStateEnum
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