pub enum MessageWaitedType {
Wait,
WaitFor,
WaitUpTo,
WaitUpToFull,
}
Expand description
Composite wait type for messages waiting.
Variants§
Wait
Program called gr_wait
while executing message.
WaitFor
Program called gr_wait_for
while executing message.
WaitUpTo
Program called gr_wait_up_to
with insufficient gas for full
duration while executing message.
WaitUpToFull
Program called gr_wait_up_to
with enough gas for full duration
storing while executing message.
Trait Implementations§
Source§impl Clone for MessageWaitedType
impl Clone for MessageWaitedType
Source§fn clone(&self) -> MessageWaitedType
fn clone(&self) -> MessageWaitedType
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 MessageWaitedType
impl Debug for MessageWaitedType
Source§impl Decode for MessageWaitedType
impl Decode for MessageWaitedType
Source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy, ) -> Result<Self, Error>
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 Encode for MessageWaitedType
impl Encode for MessageWaitedType
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: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &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 Ord for MessageWaitedType
impl Ord for MessageWaitedType
Source§fn cmp(&self, other: &MessageWaitedType) -> Ordering
fn cmp(&self, other: &MessageWaitedType) -> 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 MessageWaitedType
impl PartialEq for MessageWaitedType
Source§impl PartialOrd for MessageWaitedType
impl PartialOrd for MessageWaitedType
Source§impl TypeInfo for MessageWaitedType
impl TypeInfo for MessageWaitedType
impl EncodeLike for MessageWaitedType
impl Eq for MessageWaitedType
impl StructuralPartialEq for MessageWaitedType
Auto Trait Implementations§
impl Freeze for MessageWaitedType
impl RefUnwindSafe for MessageWaitedType
impl Send for MessageWaitedType
impl Sync for MessageWaitedType
impl Unpin for MessageWaitedType
impl UnwindSafe for MessageWaitedType
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