pub trait ChainSt: FunctorSt {
// Required method
fn chain_st<A: 'static, B: 'static>(
fa: Self::Of<A>,
f: impl Fn(A) -> Self::Of<B> + 'static,
) -> Self::Of<B>;
}Expand description
Chain (monadic bind) with 'static bounds on type parameters.
Required Methods§
fn chain_st<A: 'static, B: 'static>( fa: Self::Of<A>, f: impl Fn(A) -> Self::Of<B> + 'static, ) -> Self::Of<B>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.