Trait BlockingOneShotDelete

Source
pub trait BlockingOneShotDelete:
    Send
    + Sync
    + 'static {
    // Required method
    fn blocking_delete_once(&self, path: String, args: OpDelete) -> Result<()>;
}
Expand description

BlockingOneShotDelete is used to implement oio::BlockingDelete based on one shot operation.

BlockingOneShotDeleter will perform delete operation while calling flush.

Required Methods§

Source

fn blocking_delete_once(&self, path: String, args: OpDelete) -> Result<()>

delete_once delete one path at once.

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

Implementors§