Enum linera_execution::MessageKind 
source · pub enum MessageKind {
    Simple,
    Protected,
    Tracked,
    Bouncing,
}Expand description
The kind of outgoing message being sent.
Variants§
Simple
The message can be skipped or rejected. No receipt is requested.
Protected
The message cannot be skipped nor rejected. No receipt is requested. This only concerns certain system messages that cannot fail.
Tracked
The message cannot be skipped but can be rejected. A receipt must be sent when the message is rejected in a block of the receiver.
Bouncing
This event is a receipt automatically created when the original event was rejected.
Trait Implementations§
source§impl Clone for MessageKind
 
impl Clone for MessageKind
source§fn clone(&self) -> MessageKind
 
fn clone(&self) -> MessageKind
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 MessageKind
 
impl Debug for MessageKind
source§impl<'de> Deserialize<'de> for MessageKind
 
impl<'de> Deserialize<'de> for MessageKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for MessageKind
 
impl Hash for MessageKind
source§impl InputType for MessageKind
 
impl InputType for MessageKind
§type RawValueType = MessageKind
 
type RawValueType = MessageKind
The raw type used for validator. Read more
source§fn create_type_info(registry: &mut Registry) -> String
 
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn parse(value: Option<Value>) -> InputValueResult<Self>
 
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from 
Value. None represents undefined.source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
 
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
source§fn qualified_type_name() -> String
 
fn qualified_type_name() -> String
Qualified typename.
source§impl OutputType for MessageKind
 
impl OutputType for MessageKind
source§fn create_type_info(registry: &mut Registry) -> String
 
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
    &'life0 self,
    _: &'life1 ContextSelectionSet<'life2>,
    _field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    'life3: 'async_trait,
 
fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
    &'life0 self,
    _: &'life1 ContextSelectionSet<'life2>,
    _field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    'life3: 'async_trait,
Resolve an output value to 
async_graphql::Value.source§fn qualified_type_name() -> String
 
fn qualified_type_name() -> String
Qualified typename.
source§impl PartialEq for MessageKind
 
impl PartialEq for MessageKind
source§fn eq(&self, other: &MessageKind) -> bool
 
fn eq(&self, other: &MessageKind) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl ScalarType for MessageKind
 
impl ScalarType for MessageKind
source§impl Serialize for MessageKind
 
impl Serialize for MessageKind
impl Copy for MessageKind
impl Eq for MessageKind
impl StructuralPartialEq for MessageKind
Auto Trait Implementations§
impl RefUnwindSafe for MessageKind
impl Send for MessageKind
impl Sync for MessageKind
impl Unpin for MessageKind
impl UnwindSafe for MessageKind
Blanket Implementations§
§impl<T> ArchivePointee for T
 
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
 
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
    _: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
 
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> CallHasher for T
 
impl<T> CallHasher for T
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
 
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
    &self,
    deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
 
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
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.§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
 
impl<T> Pointable for T
§impl<T> Upcastable for T
 
impl<T> Upcastable for T
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
 
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
 
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref
§fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
 
fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
upcast boxed dyn