Struct dvcompute::simulation::process::Return [−][src]
pub struct Return<T> { /* fields omitted */ }
Expand description
Allows creating the Process
computation from a pure value.
Trait Implementations
type Item = T
type Item = T
The type of the item that is used within the computation.
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<T> RefUnwindSafe for Return<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Return<T> where
T: 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.