pub struct M2dirCreate { /* private fields */ }Expand description
I/O-free m2dir CREATE coroutine.
Implementations§
Source§impl M2dirCreate
impl M2dirCreate
Sourcepub fn new(
store: &M2dirStore,
name: &str,
opts: M2dirCreateOptions,
) -> Result<Self, M2dirStoreError>
pub fn new( store: &M2dirStore, name: &str, opts: M2dirCreateOptions, ) -> Result<Self, M2dirStoreError>
Creates a new coroutine that will create the folder named
name inside store.
Trait Implementations§
Source§impl M2dirCoroutine for M2dirCreate
impl M2dirCoroutine for M2dirCreate
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 M2dirCreate
impl RefUnwindSafe for M2dirCreate
impl Send for M2dirCreate
impl Sync for M2dirCreate
impl Unpin for M2dirCreate
impl UnsafeUnpin for M2dirCreate
impl UnwindSafe for M2dirCreate
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