pub struct FunctionOutcome {
pub execution: Execution,
pub ctx: FunctionCtx,
}Expand description
One completed function invocation: the execution (output + attestation, with the
snapshot hash bound into input_digest) and the context carrying the write-set.
Fields§
§execution: Execution§ctx: FunctionCtxTrait Implementations§
Auto Trait Implementations§
impl Forget for FunctionOutcome
impl Freeze for FunctionOutcome
impl RefUnwindSafe for FunctionOutcome
impl Send for FunctionOutcome
impl Sync for FunctionOutcome
impl Unpin for FunctionOutcome
impl UnsafeUnpin for FunctionOutcome
impl UnwindSafe for FunctionOutcome
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more