#[repr(u8)]pub enum SimpleUnavailableActorError {
ProgramExited = 0,
InitializationFailure = 1,
Uninitialized = 2,
ProgramNotCreated = 3,
ReinstrumentationFailure = 4,
Unsupported = 255,
}
Expand description
Simplified error occurred because of actor unavailability.
Variants§
ProgramExited = 0
Program called gr_exit
syscall.
PAYLOAD: ActorId
of the exited program’s inheritor (gr_exit
argument).
InitializationFailure = 1
Program was terminated due to failed initialization.
Uninitialized = 2
Program is not initialized yet.
ProgramNotCreated = 3
Program was not created.
ReinstrumentationFailure = 4
Program re-instrumentation failed.
Unsupported = 255
Unsupported reason of inactive actor error. Variant exists for backward compatibility.
Trait Implementations§
Source§fn clone(&self) -> SimpleUnavailableActorError
fn clone(&self) -> SimpleUnavailableActorError
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§fn default() -> SimpleUnavailableActorError
fn default() -> SimpleUnavailableActorError
Returns the “default value” for a type. Read more
Source§fn from(original: SimpleUnavailableActorError) -> ErrorReplyReason
fn from(original: SimpleUnavailableActorError) -> ErrorReplyReason
Converts to this type from the input type.
Source§fn cmp(&self, other: &SimpleUnavailableActorError) -> Ordering
fn cmp(&self, other: &SimpleUnavailableActorError) -> 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
Auto Trait Implementations§
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