Struct linera_execution::ApplicationCallOutcome
source · pub struct ApplicationCallOutcome {
pub value: Vec<u8>,
pub execution_outcome: RawExecutionOutcome<Vec<u8>>,
}Expand description
The result of calling into a user application.
Fields§
§value: Vec<u8>The return value.
execution_outcome: RawExecutionOutcome<Vec<u8>>The externally-visible result.
Implementations§
source§impl ApplicationCallOutcome
impl ApplicationCallOutcome
sourcepub fn with_message(self, message: RawOutgoingMessage<Vec<u8>>) -> Self
pub fn with_message(self, message: RawOutgoingMessage<Vec<u8>>) -> Self
Adds a message to this ApplicationCallOutcome.
Trait Implementations§
source§impl Default for ApplicationCallOutcome
impl Default for ApplicationCallOutcome
source§fn default() -> ApplicationCallOutcome
fn default() -> ApplicationCallOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApplicationCallOutcome
impl RefUnwindSafe for ApplicationCallOutcome
impl Send for ApplicationCallOutcome
impl Sync for ApplicationCallOutcome
impl Unpin for ApplicationCallOutcome
impl UnwindSafe for ApplicationCallOutcome
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