[][src]Enum kay::Fate

pub enum Fate {
    Live,
    Die,
}

The self-chosen fate of an actor instance it returns after handling a message

Variants

Live

The actor should continue to live after handling this message

Die

The actor should die and be deallocated after handling this message

Auto Trait Implementations

impl RefUnwindSafe for Fate

impl Send for Fate

impl Sync for Fate

impl Unpin for Fate

impl UnwindSafe for Fate

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.