IsActorResult

Trait IsActorResult 

Source
pub trait IsActorResult: Sealed {
    type Error;

    // Required method
    fn into_result(self) -> Result<Infallible, Self::Error>;
}
Expand description

Macro helper to allow actors to return either a Result type or Infallible (and eventually !).

Required Associated Types§

Source

type Error

The error type this result converts into.

Required Methods§

Source

fn into_result(self) -> Result<Infallible, Self::Error>

Convert the result into an actual Result value.

Implementations on Foreign Types§

Source§

impl IsActorResult for Infallible

Source§

impl<E> IsActorResult for Result<Infallible, E>

Implementors§