pub struct AcceptedInputState {
pub input_id: InputId,
pub step_seq: WireU64,
pub record_digest: Digest,
}Expand description
One entry of the replay ledger (§12.3 rules 7 and 10).
The digest is what makes the ledger answerable on its own. Below base_step_seq a restored
runtime holds no step and, once retention has reclaimed the prefix, no record either — so the
guarantee a redelivery gets down there is idempotent acknowledgement, not step reproduction:
“input X is step N, record D”. That is exactly what a caller retrying a lost response needs, and
it is all a checkpoint has to remember.
Fields§
§input_id: InputId§step_seq: WireU64§record_digest: DigestTrait Implementations§
Source§impl Clone for AcceptedInputState
impl Clone for AcceptedInputState
Source§fn clone(&self) -> AcceptedInputState
fn clone(&self) -> AcceptedInputState
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 AcceptedInputState
impl Debug for AcceptedInputState
Source§impl<'de> Deserialize<'de> for AcceptedInputState
impl<'de> Deserialize<'de> for AcceptedInputState
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
Source§impl PartialEq for AcceptedInputState
impl PartialEq for AcceptedInputState
Source§impl Serialize for AcceptedInputState
impl Serialize for AcceptedInputState
impl StructuralPartialEq for AcceptedInputState
Auto Trait Implementations§
impl Freeze for AcceptedInputState
impl RefUnwindSafe for AcceptedInputState
impl Send for AcceptedInputState
impl Sync for AcceptedInputState
impl Unpin for AcceptedInputState
impl UnsafeUnpin for AcceptedInputState
impl UnwindSafe for AcceptedInputState
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