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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.