Struct oasis_core_runtime::types::ComputedBatch
source · pub struct ComputedBatch {
pub header: ComputeResultsHeader,
pub io_write_log: WriteLog,
pub state_write_log: WriteLog,
pub rak_sig: Signature,
pub messages: Vec<Message>,
}
Expand description
Computed batch.
Fields§
§header: ComputeResultsHeader
Compute results header.
io_write_log: WriteLog
Log that generates the I/O tree.
state_write_log: WriteLog
Log of changes to the state tree.
rak_sig: Signature
If this runtime uses a TEE, then this is the signature of the batch’s BatchSigMessage with the node’s RAK for this runtime.
messages: Vec<Message>
Messages emitted by the runtime.
Trait Implementations§
source§impl Clone for ComputedBatch
impl Clone for ComputedBatch
source§fn clone(&self) -> ComputedBatch
fn clone(&self) -> ComputedBatch
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 ComputedBatch
impl Debug for ComputedBatch
source§impl Decode for ComputedBatch
impl Decode for ComputedBatch
source§fn try_default() -> Result<Self, DecodeError>
fn try_default() -> Result<Self, DecodeError>
Try to decode from a missing/null/undefined value.
source§fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
Try to decode from a given CBOR value.
§fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
Try to decode from a given CBOR value, calling
try_default
in case the value is null or
undefined.source§impl Default for ComputedBatch
impl Default for ComputedBatch
source§fn default() -> ComputedBatch
fn default() -> ComputedBatch
Returns the “default value” for a type. Read more
source§impl Encode for ComputedBatch
impl Encode for ComputedBatch
source§impl EncodeAsMap for ComputedBatch
impl EncodeAsMap for ComputedBatch
§fn into_cbor_value_map(self) -> Valuewhere
Self: Sized,
fn into_cbor_value_map(self) -> Valuewhere
Self: Sized,
Encode the type into a CBOR Map.
§fn into_cbor_map(self) -> Vec<(Value, Value)>where
Self: Sized,
fn into_cbor_map(self) -> Vec<(Value, Value)>where
Self: Sized,
Encode the type into a CBOR Map, returning the map items.
Auto Trait Implementations§
impl Freeze for ComputedBatch
impl RefUnwindSafe for ComputedBatch
impl Send for ComputedBatch
impl Sync for ComputedBatch
impl Unpin for ComputedBatch
impl UnwindSafe for ComputedBatch
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)