pub trait SafetyMonitor: Device + Send + Sync {
    // Provided method
    async fn is_safe(&self) -> ASCOMResult<bool> { ... }
}
Available on crate feature safetymonitor only.
Expand description

SafetyMonitor Specific Methods

Provided Methods§

source

async fn is_safe(&self) -> ASCOMResult<bool>

Indicates whether the monitored state is safe for use. True if the state is safe, False if it is unsafe.

Trait Implementations§

source§

impl Hash for dyn SafetyMonitor

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl PartialEq<dyn SafetyMonitor + 'static> for dyn SafetyMonitor

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for dyn SafetyMonitor

Implementors§