Skip to main content

SignedUploader

Trait SignedUploader 

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

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

Make signed upload URLs. Implemented by a BucketRef granting perms::SignedUploader.

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> SignedUploader for BucketRef<P>
where P::SignedUpload: Granted<SignedUploader>,