#[repr(u8)]pub enum ErrorReplyReason {
Execution(SimpleExecutionError),
FailedToCreateProgram(SimpleProgramCreationError),
InactiveProgram = 2,
RemovedFromWaitlist = 3,
Unsupported = 255,
}
Expand description
Reason of error reply creation.
Variants§
Execution(SimpleExecutionError)
Error reply was created due to underlying execution error.
FailedToCreateProgram(SimpleProgramCreationError)
Error reply was created due to errors in program creation.
InactiveProgram = 2
Destination actor become inactive program and 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.
Trait Implementations§
source§impl Clone for ErrorReplyReason
impl Clone for ErrorReplyReason
source§fn clone(&self) -> ErrorReplyReason
fn clone(&self) -> ErrorReplyReason
Returns a copy 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 Default for ErrorReplyReason
impl Default for ErrorReplyReason
source§fn default() -> ErrorReplyReason
fn default() -> ErrorReplyReason
Returns the “default value” for a type. Read more
source§impl Display for ErrorReplyReason
impl Display for ErrorReplyReason
source§impl From<ErrorReplyReason> for ReplyCode
impl From<ErrorReplyReason> for ReplyCode
source§fn from(original: ErrorReplyReason) -> ReplyCode
fn from(original: ErrorReplyReason) -> ReplyCode
Converts to this type from the input type.
source§impl From<SimpleExecutionError> for ErrorReplyReason
impl From<SimpleExecutionError> for ErrorReplyReason
source§fn from(original: SimpleExecutionError) -> ErrorReplyReason
fn from(original: SimpleExecutionError) -> ErrorReplyReason
Converts to this type from the input type.
source§impl From<SimpleProgramCreationError> for ErrorReplyReason
impl From<SimpleProgramCreationError> for ErrorReplyReason
source§fn from(original: SimpleProgramCreationError) -> ErrorReplyReason
fn from(original: SimpleProgramCreationError) -> ErrorReplyReason
Converts to this type from the input type.
source§impl Hash for ErrorReplyReason
impl Hash for ErrorReplyReason
source§impl Ord for ErrorReplyReason
impl Ord for ErrorReplyReason
source§fn cmp(&self, other: &ErrorReplyReason) -> Ordering
fn cmp(&self, other: &ErrorReplyReason) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ErrorReplyReason
impl PartialEq for ErrorReplyReason
source§fn eq(&self, other: &ErrorReplyReason) -> bool
fn eq(&self, other: &ErrorReplyReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ErrorReplyReason
impl PartialOrd for ErrorReplyReason
source§fn partial_cmp(&self, other: &ErrorReplyReason) -> Option<Ordering>
fn partial_cmp(&self, other: &ErrorReplyReason) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ErrorReplyReason
impl Eq for ErrorReplyReason
impl StructuralEq for ErrorReplyReason
impl StructuralPartialEq for ErrorReplyReason
Auto Trait Implementations§
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