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