Trait fil_actors_shared::v10::actor_error::ActorContext
source · pub trait ActorContext<T> {
// Required methods
fn context<C>(self, context: C) -> Result<T, ActorError>
where C: Display + 'static;
fn with_context<C, F>(self, f: F) -> Result<T, ActorError>
where C: Display + 'static,
F: FnOnce() -> C;
}
Required Methods§
fn context<C>(self, context: C) -> Result<T, ActorError>where
C: Display + 'static,
fn with_context<C, F>(self, f: F) -> Result<T, ActorError>
Object Safety§
This trait is not object safe.