pub trait ActorError:
Sized
+ Send
+ 'static {
// Required method
fn from_actor_message(msg: String) -> Self;
}Expand description
Required Methods§
fn from_actor_message(msg: String) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl ActorError for Box<dyn Error + Send + Sync>
impl ActorError for Box<dyn Error + Send + Sync>
fn from_actor_message(msg: String) -> Self
Source§impl ActorError for String
impl ActorError for String
fn from_actor_message(msg: String) -> Self
Source§impl ActorError for Error
impl ActorError for Error
fn from_actor_message(msg: String) -> Self
Source§impl ActorError for Error
Available on crate feature anyhow only.
impl ActorError for Error
Available on crate feature
anyhow only.