ActorResult

Type Alias ActorResult 

Source
pub type ActorResult<T> = Result<T, ProtocolError>;
Expand description

Actor result type - commonly used in framework and runtime

Aliased Type§

pub enum ActorResult<T> {
    Ok(T),
    Err(ProtocolError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ProtocolError)

Contains the error value