Trait ascom_alpaca::api::FilterWheel
source · pub trait FilterWheel: Device + Send + Sync {
// Provided methods
fn focus_offsets<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<Vec<i32>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn names<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<Vec<String>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn position<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<i32>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn set_position<'life0, 'async_trait>(
&'life0 self,
position: i32
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}
Available on crate feature
filterwheel
only.Expand description
FilterWheel Specific Methods
Provided Methods§
sourcefn focus_offsets<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<Vec<i32>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn focus_offsets<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<Vec<i32>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
An integer array of filter focus offsets.
Definition before the #[async_trait]
expansion:
ⓘ
async fn focus_offsets(&self) -> ASCOMResult<Vec<i32>>
sourcefn names<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn names<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The names of the filters
Definition before the #[async_trait]
expansion:
ⓘ
async fn names(&self) -> ASCOMResult<Vec<String>>
sourcefn position<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<i32>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn position<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<i32>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the current filter wheel position
Definition before the #[async_trait]
expansion:
ⓘ
async fn position(&self) -> ASCOMResult<i32>
sourcefn set_position<'life0, 'async_trait>(
&'life0 self,
position: i32
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_position<'life0, 'async_trait>(
&'life0 self,
position: i32
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets the filter wheel position
Definition before the #[async_trait]
expansion:
ⓘ
async fn set_position(&self, position: i32) -> ASCOMResult