pub trait CausalFlowOut {
type Value;
type State;
type Context;
// Required method
fn into_causal_flow(
self,
) -> CausalFlow<Self::Value, Self::State, Self::Context>;
}Expand description
Destructures a causal arrow’s output (CausalFlow<Value, State, Context>) into its parts.
Kleisli composition needs the value, state, and context of an arrow’s output to wire the next
stage. The Arrow trait exposes only the whole Out type, so this helper projects it. It is
implemented for CausalFlow and nothing else.
Required Associated Types§
Required Methods§
Sourcefn into_causal_flow(self) -> CausalFlow<Self::Value, Self::State, Self::Context>
fn into_causal_flow(self) -> CausalFlow<Self::Value, Self::State, Self::Context>
Recover the concrete CausalFlow.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".