#[repr(u8)]pub enum ErrorReplyReason {
Execution(SimpleExecutionError),
UnavailableActor(SimpleUnavailableActorError),
RemovedFromWaitlist = 3,
Unsupported = 255,
}
Expand description
Reason of error reply creation.
Variants§
Execution(SimpleExecutionError)
Error reply was created due to underlying execution error.
Destination actor is unavailable, so it can’t process the message.
RemovedFromWaitlist = 3
Message has died in Waitlist as out of rent one.
Unsupported = 255
Unsupported reason of error reply. Variant exists for backward compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for ErrorReplyReason
impl Clone for ErrorReplyReason
Source§fn clone(&self) -> ErrorReplyReason
fn clone(&self) -> ErrorReplyReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErrorReplyReason
impl Debug for ErrorReplyReason
Source§impl Display for ErrorReplyReason
impl Display for ErrorReplyReason
Source§impl Error for ErrorReplyReason
impl Error for ErrorReplyReason
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 From<ErrorReplyReason> for ReplyCode
impl From<ErrorReplyReason> for ReplyCode
Source§fn from(source: ErrorReplyReason) -> Self
fn from(source: ErrorReplyReason) -> Self
Converts to this type from the input type.
Source§impl From<SimpleExecutionError> for ErrorReplyReason
impl From<SimpleExecutionError> for ErrorReplyReason
Source§fn from(source: SimpleExecutionError) -> Self
fn from(source: SimpleExecutionError) -> Self
Converts to this type from the input type.
Source§fn from(source: SimpleUnavailableActorError) -> Self
fn from(source: SimpleUnavailableActorError) -> Self
Converts to this type from the input type.
Source§impl Hash for ErrorReplyReason
impl Hash for ErrorReplyReason
Source§impl PartialEq for ErrorReplyReason
impl PartialEq for ErrorReplyReason
Source§impl Sequence for ErrorReplyReason
impl Sequence for ErrorReplyReason
impl Copy for ErrorReplyReason
impl Eq for ErrorReplyReason
impl StructuralPartialEq for ErrorReplyReason
Auto Trait Implementations§
impl Freeze for ErrorReplyReason
impl RefUnwindSafe for ErrorReplyReason
impl Send for ErrorReplyReason
impl Sync for ErrorReplyReason
impl Unpin for ErrorReplyReason
impl UnwindSafe for ErrorReplyReason
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