pub trait Remover: Send + Sync {
// Required method
fn run_remove(
&self,
request: RemoveRequest<'_, Self>,
) -> impl Future<Output = Result<(), Error>> + Send;
// Provided method
fn remove(&self, key: &str) -> RemoveRequest<'_, Self> { ... }
}Expand description
Remove objects. Implemented by a BucketRef granting perms::Remover.
Required Methods§
Sourcefn run_remove(
&self,
request: RemoveRequest<'_, Self>,
) -> impl Future<Output = Result<(), Error>> + Send
fn run_remove( &self, request: RemoveRequest<'_, Self>, ) -> impl Future<Output = Result<(), Error>> + Send
Runs the removal remove made, when it is awaited.
Provided Methods§
Sourcefn remove(&self, key: &str) -> RemoveRequest<'_, Self>
fn remove(&self, key: &str) -> RemoveRequest<'_, Self>
See Bucket::remove.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".