Module meio::prelude[][src]

Expand description

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::Interact;
pub use crate::handlers::Interaction;
pub use crate::handlers::InteractionDone;
pub use crate::handlers::InteractionHandler;
pub use crate::handlers::InteractionResponder;
pub use crate::handlers::InteractionTask;
pub use crate::handlers::InterruptedBy;
pub use crate::handlers::Parcel;
pub use crate::handlers::Scheduled;
pub use crate::handlers::StartedBy;
pub use crate::handlers::StreamAcceptor;
pub use crate::handlers::TaskEliminated;
pub use crate::handlers::TerminatedBy;
pub use crate::ids::Id;
pub use crate::ids::IdOf;
pub use crate::signal;
pub use crate::system::System;
pub use crate::tasks::fn_task::FnTask;
pub use crate::tasks::fn_task::FnTaskEliminated;
pub use crate::tasks::heartbeat;

Structs

Address to send messages to Actor.

Pre-created Address that can be used in spawning an actor.

Context of a ActorRuntime that contains Address and Receiver.

The set of multiple recipients that sends actions in parallel.

Contains a receiver with a status of a task.

Contains a sender to update a status of a task.

Address of a spawned task.

Set of tasks that can be stopped together.

Enums

Status of the task.

An error that can happen in a task.

Traits

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

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

Abstract Address to the Actor that can handle an interaction.

Minimalistic actor that hasn’t Address.

Just receives a stop signal.

Custom tag for LiteTask. Attached to a runtime.

Declares sequence of groups termination.