pub trait TaskRequestExt {
// Required methods
fn get_id(&self) -> Result<i32, Error>;
fn get_task<C>(
&self,
client: &C,
) -> impl Future<Output = Result<<C as Api>::Container<Task>, Error>> + Send
where C: Api + Send;
fn get_site<C>(
&self,
client: &C,
) -> impl Future<Output = Result<Site, Error>> + Send
where C: Api + Send;
fn get_target_bands<C>(
&self,
client: &C,
) -> impl Future<Output = Result<<C as Api>::Container<Vec<Band>>, Error>> + Send
where C: Api + Send;
fn get_config<C>(
&self,
client: &C,
) -> impl Future<Output = Result<SiteConfiguration, Error>> + Send
where C: Api + Send;
fn get_satellite<C>(
&self,
client: &C,
) -> impl Future<Output = Result<Satellite, Error>> + Send
where C: Api + Send;
fn get_user<C>(
&self,
client: &C,
) -> impl Future<Output = Result<User, Error>> + Send
where C: Api + Send;
}
Required Methods§
fn get_id(&self) -> Result<i32, Error>
fn get_task<C>( &self, client: &C, ) -> impl Future<Output = Result<<C as Api>::Container<Task>, Error>> + Send
fn get_site<C>( &self, client: &C, ) -> impl Future<Output = Result<Site, Error>> + Send
fn get_target_bands<C>( &self, client: &C, ) -> impl Future<Output = Result<<C as Api>::Container<Vec<Band>>, Error>> + Send
fn get_config<C>( &self, client: &C, ) -> impl Future<Output = Result<SiteConfiguration, Error>> + Send
fn get_satellite<C>( &self, client: &C, ) -> impl Future<Output = Result<Satellite, Error>> + Send
fn get_user<C>( &self, client: &C, ) -> impl Future<Output = Result<User, 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.