pub enum ExecutionDeterminismValueExtent {
Fixed,
ImmediateTokenSpan {
bytes_per_token: u64,
maximum_tokens: u64,
},
ActiveTokenPrefix {
bytes_per_token: u64,
maximum_tokens: u64,
maximum_storage_bytes: u64,
},
}Expand description
Runtime work projection for one immutable value binding.
ImmediateTokenSpan is used by transient activations. ActiveTokenPrefix
is used by token-scaled state whose readable history extends from token zero
through the participant’s executed source frontier.
Variants§
Trait Implementations§
Source§impl Clone for ExecutionDeterminismValueExtent
impl Clone for ExecutionDeterminismValueExtent
Source§fn clone(&self) -> ExecutionDeterminismValueExtent
fn clone(&self) -> ExecutionDeterminismValueExtent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExecutionDeterminismValueExtent
Source§impl<'de> Deserialize<'de> for ExecutionDeterminismValueExtent
impl<'de> Deserialize<'de> for ExecutionDeterminismValueExtent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExecutionDeterminismValueExtent
Source§impl Ord for ExecutionDeterminismValueExtent
impl Ord for ExecutionDeterminismValueExtent
Source§fn cmp(&self, other: &ExecutionDeterminismValueExtent) -> Ordering
fn cmp(&self, other: &ExecutionDeterminismValueExtent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ExecutionDeterminismValueExtent
impl PartialOrd for ExecutionDeterminismValueExtent
impl StructuralPartialEq for ExecutionDeterminismValueExtent
Auto Trait Implementations§
impl Freeze for ExecutionDeterminismValueExtent
impl RefUnwindSafe for ExecutionDeterminismValueExtent
impl Send for ExecutionDeterminismValueExtent
impl Sync for ExecutionDeterminismValueExtent
impl Unpin for ExecutionDeterminismValueExtent
impl UnsafeUnpin for ExecutionDeterminismValueExtent
impl UnwindSafe for ExecutionDeterminismValueExtent
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