runact 1.2.1

A Rust-native actor runtime with BEAM-style processes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use thiserror::Error;

/// Actor errors.
#[derive(Debug, Error)]
pub enum ActorError {
    #[error("handler error: {0}")]
    Handler(String),

    #[error("cancelled")]
    Cancelled,

    #[error("timeout")]
    Timeout,

    #[error("panic: {0}")]
    Panic(String),
}