pub struct CopyReservation { /* private fields */ }Expand description
The copies one call to make files device-only is writing, which no other write’s removal takes while it is held or a step it runs is under way. Once both end, whatever became of the call, the next write removes those its switch didn’t keep.
Implementations§
Source§impl CopyReservation
impl CopyReservation
Sourcepub async fn run_step<T: Send + 'static, E: CarriesBug + Send + 'static>(
&self,
operation: &'static str,
bugs: BugSinkRef,
work: impl Future<Output = Result<T, E>> + Send + 'static,
) -> Result<Result<T, E>, TaskFailed>
pub async fn run_step<T: Send + 'static, E: CarriesBug + Send + 'static>( &self, operation: &'static str, bugs: BugSinkRef, work: impl Future<Output = Result<T, E>> + Send + 'static, ) -> Result<Result<T, E>, TaskFailed>
Run work, a step of the call named operation that makes a name in
the person’s folder, as its own task, holding the call’s copies, so
it runs to its end with its record though the call is dropped
meanwhile: until it ends, no write’s removal takes the call’s copies,
and closing the store waits for it (§17.3). Its panic comes back to a
caller still waiting, and goes to bugs once none is (E15).
Auto Trait Implementations§
impl Freeze for CopyReservation
impl !RefUnwindSafe for CopyReservation
impl Send for CopyReservation
impl Sync for CopyReservation
impl Unpin for CopyReservation
impl UnsafeUnpin for CopyReservation
impl !UnwindSafe for CopyReservation
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