Enum ascom_alpaca::api::CalibratorStatus
source · #[repr(i32)]pub enum CalibratorStatus {
NotPresent,
Off,
NotReady,
Ready,
Unknown,
Error,
}Available on crate feature
covercalibrator only.Expand description
Returned side of pier
Variants§
NotPresent
This device does not have a calibration capability.
Off
The calibrator is off.
NotReady
The calibrator is stabilising or is not yet in the commanded state.
Ready
The calibrator is ready for use.
Unknown
The calibrator state is unknown.
Error
The calibrator encountered an error when changing state.
Trait Implementations§
source§impl Clone for CalibratorStatus
impl Clone for CalibratorStatus
source§fn clone(&self) -> CalibratorStatus
fn clone(&self) -> CalibratorStatus
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 moresource§impl Debug for CalibratorStatus
impl Debug for CalibratorStatus
source§impl<'de> Deserialize<'de> for CalibratorStatus
impl<'de> Deserialize<'de> for CalibratorStatus
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<CalibratorStatus> for i32
impl From<CalibratorStatus> for i32
source§fn from(enum_value: CalibratorStatus) -> Self
fn from(enum_value: CalibratorStatus) -> Self
Converts to this type from the input type.
source§impl PartialEq<CalibratorStatus> for CalibratorStatus
impl PartialEq<CalibratorStatus> for CalibratorStatus
source§fn eq(&self, other: &CalibratorStatus) -> bool
fn eq(&self, other: &CalibratorStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CalibratorStatus
impl Serialize for CalibratorStatus
source§impl TryFrom<i32> for CalibratorStatus
impl TryFrom<i32> for CalibratorStatus
§type Error = TryFromPrimitiveError<CalibratorStatus>
type Error = TryFromPrimitiveError<CalibratorStatus>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for CalibratorStatus
impl TryFromPrimitive for CalibratorStatus
impl Copy for CalibratorStatus
impl Eq for CalibratorStatus
impl StructuralEq for CalibratorStatus
impl StructuralPartialEq for CalibratorStatus
Auto Trait Implementations§
impl RefUnwindSafe for CalibratorStatus
impl Send for CalibratorStatus
impl Sync for CalibratorStatus
impl Unpin for CalibratorStatus
impl UnwindSafe for CalibratorStatus
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.