Skip to main content

SignedDownloader

Trait SignedDownloader 

Source
pub trait SignedDownloader: Send + Sync {
    // Required method
    fn signed_download_url_with(
        &self,
        key: &str,
        options: SignedUrlOptions,
    ) -> impl Future<Output = Result<SignedDownloadUrl, Error>> + Send;

    // Provided method
    fn signed_download_url(
        &self,
        key: &str,
    ) -> impl Future<Output = Result<SignedDownloadUrl, Error>> + Send { ... }
}
Expand description

Make signed download URLs. Implemented by a BucketRef granting perms::SignedDownloader.

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<P: BucketPerms> SignedDownloader for BucketRef<P>
where P::SignedDownload: Granted<SignedDownloader>,