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§
Sourcefn signed_upload_url_with(
&self,
key: &str,
options: SignedUrlOptions,
) -> impl Future<Output = Result<SignedUploadUrl, Error>> + Send
fn signed_upload_url_with( &self, key: &str, options: SignedUrlOptions, ) -> impl Future<Output = Result<SignedUploadUrl, Error>> + Send
Provided Methods§
Sourcefn signed_upload_url(
&self,
key: &str,
) -> impl Future<Output = Result<SignedUploadUrl, Error>> + Send
fn signed_upload_url( &self, key: &str, ) -> impl Future<Output = Result<SignedUploadUrl, Error>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".