Skip to main content

crux_core/effects/routes/
mod.rs

1//! The effect handling "lanes" an [`EffectRouter`](super::EffectRouter) can
2//! dispatch to.
3//!
4//! Each route handles a category of effects in a particular way:
5//!
6//! - [`Serialized`] is the default, bridge-like lane that exchanges bytes with
7//!   the shell.
8//! - [`Parked`] holds requests under an [`EffectId`](super::EffectId) for a
9//!   custom, user-owned FFI carrying opaque or non-serializable data.
10//! - [`Buffer`] collects requests for the caller to drain and handle in process.
11
12mod buffer;
13mod parked;
14mod serialized;
15
16pub use buffer::Buffer;
17pub use parked::Parked;
18pub use serialized::Serialized;