pub enum SignalCode {
Execution(SimpleExecutionError),
RemovedFromWaitlist,
}
Expand description
Variants§
Execution(SimpleExecutionError)
Signal was sent due to some execution errors.
RemovedFromWaitlist
Signal was sent due to removal from waitlist as out of rent.
Implementations§
Trait Implementations§
Source§impl Clone for SignalCode
impl Clone for SignalCode
Source§fn clone(&self) -> SignalCode
fn clone(&self) -> SignalCode
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 SignalCode
impl Debug for SignalCode
Source§impl Decode for SignalCode
impl Decode for SignalCode
Source§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<SignalCode, Error>where
__CodecInputEdqy: Input,
fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<SignalCode, 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§impl Default for SignalCode
impl Default for SignalCode
Source§fn default() -> SignalCode
fn default() -> SignalCode
Returns the “default value” for a type. Read more
Source§impl Display for SignalCode
impl Display for SignalCode
Source§impl Encode for SignalCode
impl Encode for SignalCode
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
Source§impl From<SimpleExecutionError> for SignalCode
impl From<SimpleExecutionError> for SignalCode
Source§fn from(value: SimpleExecutionError) -> SignalCode
fn from(value: SimpleExecutionError) -> SignalCode
Converts to this type from the input type.
Source§impl Hash for SignalCode
impl Hash for SignalCode
Source§impl Ord for SignalCode
impl Ord for SignalCode
Source§fn cmp(&self, other: &SignalCode) -> Ordering
fn cmp(&self, other: &SignalCode) -> 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 SignalCode
impl PartialEq for SignalCode
Source§impl PartialOrd for SignalCode
impl PartialOrd for SignalCode
Source§impl Sequence for SignalCode
impl Sequence for SignalCode
Source§const CARDINALITY: usize = 8usize
const CARDINALITY: usize = 8usize
Number of values of type
Self
. Read moreSource§fn next(&self) -> Option<SignalCode>
fn next(&self) -> Option<SignalCode>
Source§fn previous(&self) -> Option<SignalCode>
fn previous(&self) -> Option<SignalCode>
Source§impl TypeInfo for SignalCode
impl TypeInfo for SignalCode
impl Copy for SignalCode
impl EncodeLike for SignalCode
impl Eq for SignalCode
impl StructuralPartialEq for SignalCode
Auto Trait Implementations§
impl Freeze for SignalCode
impl RefUnwindSafe for SignalCode
impl Send for SignalCode
impl Sync for SignalCode
impl Unpin for SignalCode
impl UnwindSafe for SignalCode
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