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