Crate maiko

Crate maiko 

Source
Expand description

Maiko - Event-based actor runtime

A tiny actor runtime inspired by event-driven systems like Kafka, designed for ergonomic, loosely-coupled concurrency in Rust.

See examples/guesser.rs and examples/pingpong.rs.

Structs§

Config
Runtime configuration for the supervisor and actors.
Context
Runtime-provided context for an actor to interact with the system.
DefaultTopic
Default topic for simple systems that don’t need topic-based routing.
Envelope
Event plus metadata used by the broker for routing and observability.
Meta
Metadata attached to every event envelope.
Supervisor
Coordinates actors and the broker, and owns the top-level runtime.

Enums§

Error

Traits§

Actor
Core trait implemented by user-defined actors.
Event
Marker trait for events processed by Maiko.
Topic
Maps events to routing topics.

Type Aliases§

Result

Derive Macros§

Event