Struct linera_execution::RawExecutionResult
source · pub struct RawExecutionResult<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> RawExecutionResult<Message>
impl<Message> RawExecutionResult<Message>
pub fn with_authenticated_signer( self, authenticated_signer: Option<Owner> ) -> Self
Trait Implementations§
source§impl<Message> Debug for RawExecutionResult<Message>where
Vec<RawOutgoingMessage<Message>>: Debug,
impl<Message> Debug for RawExecutionResult<Message>where Vec<RawOutgoingMessage<Message>>: Debug,
Auto Trait Implementations§
impl<Message> RefUnwindSafe for RawExecutionResult<Message>where Message: RefUnwindSafe,
impl<Message> Send for RawExecutionResult<Message>where Message: Send,
impl<Message> Sync for RawExecutionResult<Message>where Message: Sync,
impl<Message> Unpin for RawExecutionResult<Message>where Message: Unpin,
impl<Message> UnwindSafe for RawExecutionResult<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 Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§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 Twhere
T: Any + Send + Sync + 'static,
impl<T> Upcastable for Twhere T: Any + Send + Sync + 'static,
§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