[][src]Module meio::prelude

Meio prelude module.

Re-exports

pub use crate::handlers::Action;
pub use crate::handlers::ActionHandler;
pub use crate::handlers::Consumer;
pub use crate::handlers::Eliminated;
pub use crate::handlers::InstantAction;
pub use crate::handlers::InstantActionHandler;
pub use crate::handlers::Interaction;
pub use crate::handlers::InteractionHandler;
pub use crate::handlers::InterruptedBy;
pub use crate::handlers::Scheduled;
pub use crate::handlers::StartedBy;
pub use crate::handlers::TaskEliminated;
pub use crate::handlers::TryConsumer;
pub use crate::ids::Id;
pub use crate::ids::IdOf;
pub use crate::signal;
pub use crate::system::System;
pub use crate::task;

Structs

Address

Address to send messages to Actor.

Context

Context of a ActorRuntime that contains Address and Receiver.

Distributor

The set of multiple recipients that sends actions in parallel.

StopReceiver

Contains a receiver with a status of a task.

Enums

Status

Status of the task.

TaskError

An error that can happen in a task.

Traits

ActionRecipient

Abstract Address to the Actor that can handle a specific message type.

Actor

The main trait. Your structs have to implement it to be compatible with ActorRuntime and Address system.

InteractionRecipient

Abstract Address to the Actor that can handle an interaction.

LiteTask

Minimalistic actor that hasn't Address.

StopSignal

Just receives a stop signal.