pub struct ShortCircuitingComputationHandle<'a, T, Controller>where
T: Send,
Controller: ComputationController,{ /* private fields */ }Expand description
Handle to a short-circuiting computation.
Implementations§
Source§impl<'a, T, Controller> ShortCircuitingComputationHandle<'a, T, Controller>where
T: Send,
Controller: ComputationController,
impl<'a, T, Controller> ShortCircuitingComputationHandle<'a, T, Controller>where
T: Send,
Controller: ComputationController,
Sourcepub fn controller(&self) -> &Controller
pub fn controller(&self) -> &Controller
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn checkpoint(
&self,
description: Arguments<'_>,
) -> Result<(), ShortCircuitingComputationAbort<Controller::Abort>>
pub fn checkpoint( &self, description: Arguments<'_>, ) -> Result<(), ShortCircuitingComputationAbort<Controller::Abort>>
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn log(&self, description: Arguments<'_>)
pub fn log(&self, description: Arguments<'_>)
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn join_many<V, F>(self, operations: V)
pub fn join_many<V, F>(self, operations: V)
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Trait Implementations§
Source§impl<'a, T, Controller> Clone for ShortCircuitingComputationHandle<'a, T, Controller>where
T: Send,
Controller: ComputationController,
impl<'a, T, Controller> Clone for ShortCircuitingComputationHandle<'a, T, Controller>where
T: Send,
Controller: ComputationController,
Auto Trait Implementations§
impl<'a, T, Controller> Freeze for ShortCircuitingComputationHandle<'a, T, Controller>where
Controller: Freeze,
impl<'a, T, Controller> RefUnwindSafe for ShortCircuitingComputationHandle<'a, T, Controller>where
Controller: RefUnwindSafe,
<Controller as ComputationController>::Abort: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, Controller> Send for ShortCircuitingComputationHandle<'a, T, Controller>where
Controller: Send,
impl<'a, T, Controller> Sync for ShortCircuitingComputationHandle<'a, T, Controller>where
Controller: Sync,
impl<'a, T, Controller> Unpin for ShortCircuitingComputationHandle<'a, T, Controller>where
Controller: Unpin,
impl<'a, T, Controller> UnwindSafe for ShortCircuitingComputationHandle<'a, T, Controller>where
Controller: UnwindSafe,
<Controller as ComputationController>::Abort: RefUnwindSafe,
T: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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