pub enum ScopedExecutionOutcome<'env> {
Completed(ScopedExecutionBundle<'env>),
RetiredFailed {
error: Error,
inputs: ScopedReadInputs<'env>,
},
}Expand description
A synchronous scoped execution result.
Variants§
Completed(ScopedExecutionBundle<'env>)
All provider work retired before this call returned.
RetiredFailed
Execution retired with an ordinary error and the original borrows remain available.
Trait Implementations§
Auto Trait Implementations§
impl<'env> !Freeze for ScopedExecutionOutcome<'env>
impl<'env> !RefUnwindSafe for ScopedExecutionOutcome<'env>
impl<'env> !UnwindSafe for ScopedExecutionOutcome<'env>
impl<'env> Send for ScopedExecutionOutcome<'env>
impl<'env> Sync for ScopedExecutionOutcome<'env>
impl<'env> Unpin for ScopedExecutionOutcome<'env>
impl<'env> UnsafeUnpin for ScopedExecutionOutcome<'env>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more