IntoActorResult

Trait IntoActorResult 

Source
pub trait IntoActorResult {
    type Output;

    // Required method
    fn into_actor_result(self) -> ActorResult<Self::Output>;
}
Expand description

Actor methods may return any type implementing this trait.

Required Associated Types§

Source

type Output

The type to be sent back to the caller.

Required Methods§

Source

fn into_actor_result(self) -> ActorResult<Self::Output>

Perform the conversion to an ActorResult.

Implementations on Foreign Types§

Source§

impl IntoActorResult for ()

Implementors§