#[repr(u8)]pub enum ErrorReplyReason {
Execution(SimpleExecutionError),
FailedToCreateProgram(SimpleProgramCreationError),
InactiveActor = 2,
RemovedFromWaitlist = 3,
ReinstrumentationFailure = 4,
Unsupported = 255,
}
Expand description
Reason of error reply creation.
NOTE: Adding new variants to this enum you must also update ErrorReplyReason::to_bytes
and
ErrorReplyReason::from_bytes
methods.
Variants§
Execution(SimpleExecutionError)
Error reply was created due to underlying execution error.
FailedToCreateProgram(SimpleProgramCreationError)
Error reply was created due to errors in program creation.
InactiveActor = 2
Destination actor is inactive, so it can’t process the message.
RemovedFromWaitlist = 3
Message has died in Waitlist as out of rent one.
ReinstrumentationFailure = 4
Program re-instrumentation failed.
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§impl PartialOrd for ErrorReplyReason
impl PartialOrd 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