Skip to main content

BehaviorActed

Type Alias BehaviorActed 

Source
pub type BehaviorActed<B> = Acted<<B as Behavior>::Addr, <B as Behavior>::Ph, <B as Behavior>::Sends, <B as Behavior>::Birth, <B as Behavior>::Error>;
Expand description

The only successful effect shape admitted by a Behavior implementation.

Aliased Type§

pub enum BehaviorActed<B> {
    Ok(Actions<<B as Behavior>::Addr, <B as Behavior>::Ph, <B as Behavior>::Sends, <B as Behavior>::Birth>),
    Err(<B as Behavior>::Error),
}

Variants§

§1.0.0

Ok(Actions<<B as Behavior>::Addr, <B as Behavior>::Ph, <B as Behavior>::Sends, <B as Behavior>::Birth>)

Contains the success value

§1.0.0

Err(<B as Behavior>::Error)

Contains the error value