Type Alias Result
Source pub type Result<T> = Result<T, Error>;
Expand description
A Result type specialized for rsactor operations.
This type is returned by most actor operations like tell,
ask, stop, etc.
§Examples
use rsactor::Result;
fn actor_operation() -> Result<String> {
Ok("success".to_string())
}
pub enum Result<T> {
Ok(T),
Err(Error),
}
Contains the success value