Enum kay::Fate[][src]

pub enum Fate {
    Live,
    Die,
}

Return type of message handling functions, signifying if an Actor/Actor should live on after receiving a certain message type.

Note: so far only has an effect on Actors in Swarms

Variants

Means: the Actor/Actor should live on

Means: the Actor/Actor should be stopped, its state can be deallocated

Auto Trait Implementations

impl Send for Fate

impl Sync for Fate