Skip to main content

Remover

Trait Remover 

Source
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§

Source

fn remove_with( &self, key: &str, options: RemoveOptions, ) -> impl Future<Output = Result<(), Error>> + Send

Provided Methods§

Source

fn remove(&self, key: &str) -> impl Future<Output = Result<(), Error>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<P: BucketPerms> Remover for BucketRef<P>
where P::Remove: Granted<Remover>,