#[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 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§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<SimpleUnavailableActorError, Error>where
__CodecInputEdqy: Input,
fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<SimpleUnavailableActorError, Error>where
__CodecInputEdqy: Input,
Attempt to deserialise the value from input.
Source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SimpleUnavailableActorError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SimpleUnavailableActorError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
Source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
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§fn from(source: SimpleUnavailableActorError) -> ErrorReplyReason
fn from(source: SimpleUnavailableActorError) -> ErrorReplyReason
Converts to this type from the input type.
Source§const CARDINALITY: usize = 6usize
const CARDINALITY: usize = 6usize
Number of values of type
Self. Read moreSource§fn next(&self) -> Option<SimpleUnavailableActorError>
fn next(&self) -> Option<SimpleUnavailableActorError>
Source§fn previous(&self) -> Option<SimpleUnavailableActorError>
fn previous(&self) -> Option<SimpleUnavailableActorError>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DecodeLimit for Twhere
T: Decode,
impl<T> DecodeLimit for Twhere
T: Decode,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.