Struct dvcompute::simulation::process::WhenCancelling [−][src]
pub struct WhenCancelling<M> { /* fields omitted */ }
Expand description
Register a handler that will be invoked in case of cancelling the current process.
Trait Implementations
Bind the current computation with its continuation within the resulting computation.
Map the current computation using the specified transform.
Zip the current computation with another one within the resulting computation.
The function application.
Finalize the current computation regardless of canceling it or not.
Run the Process
computation using the specified process identifier.
Convert into a boxed value.
Auto Trait Implementations
impl<M> RefUnwindSafe for WhenCancelling<M> where
M: RefUnwindSafe,
impl<M> Send for WhenCancelling<M> where
M: Send,
impl<M> Sync for WhenCancelling<M> where
M: Sync,
impl<M> Unpin for WhenCancelling<M> where
M: Unpin,
impl<M> UnwindSafe for WhenCancelling<M> where
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Process = M
type Process = M
The target computation.
Convert to the Process
computation.