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
Available on crate feature unstable-enable
only.
pub fn controller(&self) -> &Controller
unstable-enable
only.§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>>
Available on crate feature unstable-enable
only.
pub fn checkpoint( &self, description: Arguments<'_>, ) -> Result<(), ShortCircuitingComputationAbort<Controller::Abort>>
unstable-enable
only.§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<'_>)
Available on crate feature unstable-enable
only.
pub fn log(&self, description: Arguments<'_>)
unstable-enable
only.§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)
Available on crate feature unstable-enable
only.
pub fn join_many<V, F>(self, operations: V)
unstable-enable
only.§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<A, B>(self, oper_a: A, oper_b: B)
Available on crate feature unstable-enable
only.
pub fn join<A, B>(self, oper_a: A, oper_b: B)
unstable-enable
only.§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