Trait stac_async::download::Download
source · pub trait Download: Assets + Links + Href + Serialize + Clone {
// Provided method
fn download<'async_trait>(
self,
directory: impl 'async_trait + AsRef<Path>
) -> Pin<Box<dyn Future<Output = Result<Self>> + 'async_trait>>
where Self: Sized + 'async_trait { ... }
}
Expand description
Download the assets from anything that implements Assets.