Skeletal actor framework. Somewhat unweildy, needs a message box, a better runtime, and different channels. However, hello world example works
5 lines
207 B
Rust
5 lines
207 B
Rust
pub type Error = Box<dyn std::error::Error + Send + Sync + 'static>;
|
|
pub type Result<T> = std::result::Result<T, Error>;
|
|
pub fn convert_err<E: std::fmt::Debug>(e: E) -> Error {
|
|
format!("{e:?}").into()
|
|
}
|