Trait opendal::raw::oio::OneShotDelete

source ·
pub trait OneShotDelete: Send + Sync + Unpin + 'static {
    // Required method
    fn delete_once(
        &self,
        path: String,
        args: OpDelete,
    ) -> impl Future<Output = Result<()>> + MaybeSend;
}
Expand description

OneShotDelete is used to implement oio::Delete based on one shot operation.

OneShotDeleter will perform delete operation while calling flush.

Required Methods§

source

fn delete_once( &self, path: String, args: OpDelete, ) -> impl Future<Output = Result<()>> + MaybeSend

delete_once delete one path at once.

Implementations should make sure that the data is deleted correctly at once.

Object Safety§

This trait is not object safe.

Implementors§