pub trait TaskExt {
// Required methods
fn get_id(&self) -> Result<i32, Error>;
fn get_task_request<C>(
&self,
client: &C,
) -> impl Future<Output = Result<<C as Api>::Container<TaskRequest>, Error>> + Send
where C: Api + Send;
fn get_config<C>(
&self,
client: &C,
) -> impl Future<Output = Result<<C as Api>::Container<SiteConfiguration>, Error>> + Send
where C: Api + Send;
fn get_azel<C>(
&self,
client: &C,
) -> impl Future<Output = Result<<C as Api>::Container<AzEl>, Error>> + Send
where C: Api + Send;
}
Required Methods§
fn get_id(&self) -> Result<i32, Error>
fn get_task_request<C>( &self, client: &C, ) -> impl Future<Output = Result<<C as Api>::Container<TaskRequest>, Error>> + Send
fn get_config<C>( &self, client: &C, ) -> impl Future<Output = Result<<C as Api>::Container<SiteConfiguration>, Error>> + Send
fn get_azel<C>( &self, client: &C, ) -> impl Future<Output = Result<<C as Api>::Container<AzEl>, Error>> + Send
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.