pub struct M2dirFlagRemove { /* private fields */ }Expand description
I/O-free m2dir flag REMOVE coroutine.
Implementations§
Source§impl M2dirFlagRemove
impl M2dirFlagRemove
Sourcepub fn new(
m2dir: &M2dir,
id: impl AsRef<str>,
flags: M2dirFlags,
opts: M2dirFlagRemoveOptions,
) -> Self
pub fn new( m2dir: &M2dir, id: impl AsRef<str>, flags: M2dirFlags, opts: M2dirFlagRemoveOptions, ) -> Self
Creates a new coroutine that will remove flags from the
flags metadata file for entry id inside m2dir.
Trait Implementations§
Source§impl M2dirCoroutine for M2dirFlagRemove
impl M2dirCoroutine for M2dirFlagRemove
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 M2dirFlagRemove
impl RefUnwindSafe for M2dirFlagRemove
impl Send for M2dirFlagRemove
impl Sync for M2dirFlagRemove
impl Unpin for M2dirFlagRemove
impl UnsafeUnpin for M2dirFlagRemove
impl UnwindSafe for M2dirFlagRemove
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