pub struct ProviderCheckpointContract { /* private fields */ }Expand description
An implementation promises all of its persistent state effects are complete at the permitted successful frame boundaries, and legal suffix execution can resume from those values without hidden execution history. Physical export mappings, operation-oracle coverage, and whole-program closure are separate plan checks; this declaration alone does not authorize restoration.
Implementations§
Source§impl ProviderCheckpointContract
impl ProviderCheckpointContract
pub const fn new( input_dependency: CheckpointInputDependency, boundaries: CheckpointBoundaryConstraint, partition_numerics: CheckpointPartitionNumerics, ) -> Self
pub const fn with_completed_input_capture( self, capability: CheckpointCompletedInputCapture, ) -> Self
pub const fn completed_input_capture(&self) -> CheckpointCompletedInputCapture
pub fn with_state_ports( self, ports: Vec<ProviderCheckpointStatePort>, ) -> Result<Self, VNextError>
pub fn state_ports(&self) -> &[ProviderCheckpointStatePort]
pub const fn contract_version(&self) -> ContractVersion
pub const fn input_dependency(&self) -> CheckpointInputDependency
pub const fn boundaries(&self) -> CheckpointBoundaryConstraint
pub const fn partition_numerics(&self) -> CheckpointPartitionNumerics
Trait Implementations§
Source§impl Clone for ProviderCheckpointContract
impl Clone for ProviderCheckpointContract
Source§fn clone(&self) -> ProviderCheckpointContract
fn clone(&self) -> ProviderCheckpointContract
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 moreSource§impl Debug for ProviderCheckpointContract
impl Debug for ProviderCheckpointContract
Source§impl<'de> Deserialize<'de> for ProviderCheckpointContract
impl<'de> Deserialize<'de> for ProviderCheckpointContract
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 ProviderCheckpointContract
impl StructuralPartialEq for ProviderCheckpointContract
Auto Trait Implementations§
impl Freeze for ProviderCheckpointContract
impl RefUnwindSafe for ProviderCheckpointContract
impl Send for ProviderCheckpointContract
impl Sync for ProviderCheckpointContract
impl Unpin for ProviderCheckpointContract
impl UnsafeUnpin for ProviderCheckpointContract
impl UnwindSafe for ProviderCheckpointContract
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