pub struct ActorFailure(pub String);Expand description
A failed turn: an error returned by the actor or a caught panic.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ActorFailure
impl Clone for ActorFailure
Source§impl Debug for ActorFailure
impl Debug for ActorFailure
Source§impl Display for ActorFailure
impl Display for ActorFailure
impl Eq for ActorFailure
Source§impl Error for ActorFailure
impl Error for ActorFailure
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for ActorFailure
impl PartialEq for ActorFailure
impl StructuralPartialEq for ActorFailure
Auto Trait Implementations§
impl Forget for ActorFailure
impl Freeze for ActorFailure
impl Move for ActorFailure
impl RefUnwindSafe for ActorFailure
impl Send for ActorFailure
impl Sync for ActorFailure
impl Unpin for ActorFailure
impl UnsafeUnpin for ActorFailure
impl UnwindSafe for ActorFailure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more