[][src]Crate eff

Re-exports

pub use eff_attr::eff;
pub use context::Context;
pub use context::TypedContext;
pub use generator::from_generator;
pub use lazy::lazy;
pub use lazy::pure;

Modules

context

A context for a task

coproduct

Coproduct type of effects

either

Either of the two underlying effectful computation

embed

Embed the effect of an computation into a wider one

generator

Convert a generator into an effectful computation

handled

An effectful computation with some effects handled

lazy

A lazy computation with no effects.

Macros

Coproduct

A coproduct type of effects

effectful

An effectful computation block

handler

Create a handler

perform

Performs an effect, suspending the current computation until the task gets waken

perform_from

Runs an effectful computation under the current context

Structs

Continue

A special effect representing the continuation of the source computation in handlers

Enums

Poll

The state of an effectful computation

Suspension

The cause for suspension of the computation

Traits

Effect

A computational effect that will be resolved to Output

Effectful

An effectful computation