Struct linera_execution::RawExecutionOutcome
source · pub struct RawExecutionOutcome<Message> {
pub authenticated_signer: Option<Owner>,
pub messages: Vec<RawOutgoingMessage<Message>>,
pub subscribe: Vec<(ChannelName, ChainId)>,
pub unsubscribe: Vec<(ChannelName, ChainId)>,
}Expand description
Externally visible results of an execution. These results are meant in the context of the application that created them.
Fields§
§authenticated_signer: Option<Owner>The signer who created the messages.
messages: Vec<RawOutgoingMessage<Message>>Sends messages to the given destinations, possibly forwarding the authenticated signer.
subscribe: Vec<(ChannelName, ChainId)>Subscribe chains to channels.
unsubscribe: Vec<(ChannelName, ChainId)>Unsubscribe chains to channels.
Implementations§
source§impl<Message> RawExecutionOutcome<Message>
impl<Message> RawExecutionOutcome<Message>
pub fn with_authenticated_signer( self, authenticated_signer: Option<Owner> ) -> Self
sourcepub fn with_message(self, message: RawOutgoingMessage<Message>) -> Self
pub fn with_message(self, message: RawOutgoingMessage<Message>) -> Self
Adds a message to this RawExecutionOutcome.
Trait Implementations§
source§impl<Message> Debug for RawExecutionOutcome<Message>
impl<Message> Debug for RawExecutionOutcome<Message>
Auto Trait Implementations§
impl<Message> RefUnwindSafe for RawExecutionOutcome<Message>where
Message: RefUnwindSafe,
impl<Message> Send for RawExecutionOutcome<Message>where
Message: Send,
impl<Message> Sync for RawExecutionOutcome<Message>where
Message: Sync,
impl<Message> Unpin for RawExecutionOutcome<Message>where
Message: Unpin,
impl<Message> UnwindSafe for RawExecutionOutcome<Message>where
Message: UnwindSafe,
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<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<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