pub struct M2dirDelete { /* private fields */ }Expand description
I/O-free m2dir DELETE coroutine.
Implementations§
Source§impl M2dirDelete
impl M2dirDelete
Sourcepub fn new(path: impl Into<M2dirPath>, opts: M2dirDeleteOptions) -> Self
pub fn new(path: impl Into<M2dirPath>, opts: M2dirDeleteOptions) -> Self
Creates a new coroutine that will recursively remove the
m2dir at path.
Trait Implementations§
Source§impl M2dirCoroutine for M2dirDelete
impl M2dirCoroutine for M2dirDelete
Source§type Yield = M2dirYield
type Yield = M2dirYield
Intermediate value handed back on every step. Per-coroutine: each
implementor picks exactly the variants it needs. In io-m2dir every
coroutine picks
M2dirYield.Auto Trait Implementations§
impl Freeze for M2dirDelete
impl RefUnwindSafe for M2dirDelete
impl Send for M2dirDelete
impl Sync for M2dirDelete
impl Unpin for M2dirDelete
impl UnsafeUnpin for M2dirDelete
impl UnwindSafe for M2dirDelete
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more