Struct ractor::message::BoxedDowncastErr
source · pub struct BoxedDowncastErr;Expand description
An error downcasting a boxed item to a strong type
Trait Implementations§
source§impl Debug for BoxedDowncastErr
impl Debug for BoxedDowncastErr
source§impl Display for BoxedDowncastErr
impl Display for BoxedDowncastErr
source§impl Error for BoxedDowncastErr
impl Error for BoxedDowncastErr
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl RefUnwindSafe for BoxedDowncastErr
impl Send for BoxedDowncastErr
impl Sync for BoxedDowncastErr
impl Unpin for BoxedDowncastErr
impl UnwindSafe for BoxedDowncastErr
Blanket Implementations§
source§impl<T> Message for Twhere
T: Any + Send + 'static,
impl<T> Message for Twhere
T: Any + Send + 'static,
source§fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
Convert a BoxedMessage to this concrete type
source§fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
Convert this message to a BoxedMessage