TaskExt

Trait TaskExt 

Source
pub trait TaskExt {
    // Required methods
    fn get_id(&self) -> Result<i32, Error>;
    fn get_task_request<C>(
        &self,
        client: &C,
    ) -> impl Future<Output = Result<TaskRequest, Error>> + Send + Sync
       where C: Api;
    fn get_site_configuration<C>(
        &self,
        client: &C,
    ) -> impl Future<Output = Result<SiteConfiguration, Error>> + Send + Sync
       where C: Api;
    fn get_azel<C>(
        &self,
        client: &C,
    ) -> impl Future<Output = Result<AzEl, Error>> + Send + Sync
       where C: Api;
}

Required Methods§

Source

fn get_id(&self) -> Result<i32, Error>

Source

fn get_task_request<C>( &self, client: &C, ) -> impl Future<Output = Result<TaskRequest, Error>> + Send + Sync
where C: Api,

Source

fn get_site_configuration<C>( &self, client: &C, ) -> impl Future<Output = Result<SiteConfiguration, Error>> + Send + Sync
where C: Api,

Source

fn get_azel<C>( &self, client: &C, ) -> impl Future<Output = Result<AzEl, Error>> + Send + Sync
where C: Api,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§