Trait IntoEnvIO

Source
pub trait IntoEnvIO {
    type Out;
    type IntoEnv: EnvIO<Out = Self::Out>;

    // Required method
    fn effect(self) -> Self::IntoEnv;
}

Required Associated Types§

Source

type Out

Source

type IntoEnv: EnvIO<Out = Self::Out>

Required Methods§

Source

fn effect(self) -> Self::IntoEnv

Implementors§

Source§

impl<T, F: Fn() -> T> IntoEnvIO for F

Source§

type Out = T

Source§

type IntoEnv = Effect<T, F>