pub struct StateCheckpointContract { /* private fields */ }Expand description
Complete continuation state at a successful frame boundary. The program still has to account for all persistent effects and conditioning inputs; declaring one state does not establish that closure.
Implementations§
Source§impl StateCheckpointContract
impl StateCheckpointContract
pub const fn new( contents: StateCheckpointContents, input_dependency: CheckpointInputDependency, ) -> Self
pub const fn contract_version(&self) -> ContractVersion
pub const fn contents(&self) -> StateCheckpointContents
pub const fn input_dependency(&self) -> CheckpointInputDependency
Trait Implementations§
Source§impl Clone for StateCheckpointContract
impl Clone for StateCheckpointContract
Source§fn clone(&self) -> StateCheckpointContract
fn clone(&self) -> StateCheckpointContract
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 StateCheckpointContract
Source§impl Debug for StateCheckpointContract
impl Debug for StateCheckpointContract
Source§impl<'de> Deserialize<'de> for StateCheckpointContract
impl<'de> Deserialize<'de> for StateCheckpointContract
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 StateCheckpointContract
Source§impl PartialEq for StateCheckpointContract
impl PartialEq for StateCheckpointContract
Source§impl Serialize for StateCheckpointContract
impl Serialize for StateCheckpointContract
impl StructuralPartialEq for StateCheckpointContract
Auto Trait Implementations§
impl Freeze for StateCheckpointContract
impl RefUnwindSafe for StateCheckpointContract
impl Send for StateCheckpointContract
impl Sync for StateCheckpointContract
impl Unpin for StateCheckpointContract
impl UnsafeUnpin for StateCheckpointContract
impl UnwindSafe for StateCheckpointContract
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