pub struct ReplayIdentity { /* private fields */ }Expand description
A replay identity is trusted output. Deserialization always goes through
UnvalidatedReplayIdentity and reconstruction from independent evidence.
Implementations§
Source§impl ReplayIdentity
impl ReplayIdentity
pub fn from_evidence(evidence: &ReplayEvidence<'_>) -> Result<Self, VNextError>
pub fn terminal_identity(&self) -> &ExecutionIdentityEnvelope
pub fn resolved_plan_fingerprint(&self) -> &str
pub fn request_input_fingerprint(&self) -> &str
pub fn initial_state_fingerprint(&self) -> &str
pub const fn random_seed(&self) -> u64
pub fn request_journal_fingerprint(&self) -> &str
pub fn pool_journal_fingerprint(&self) -> Option<&str>
pub fn plan_cleanup_fingerprint(&self) -> Option<&str>
pub const fn cleanup_status(&self) -> ReplayCleanupStatus
pub fn decode_untrusted( bytes: &[u8], ) -> Result<UnvalidatedReplayIdentity, VNextError>
Trait Implementations§
Source§impl Clone for ReplayIdentity
impl Clone for ReplayIdentity
Source§fn clone(&self) -> ReplayIdentity
fn clone(&self) -> ReplayIdentity
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 ReplayIdentity
impl Debug for ReplayIdentity
impl Eq for ReplayIdentity
Source§impl PartialEq for ReplayIdentity
impl PartialEq for ReplayIdentity
Source§impl Serialize for ReplayIdentity
impl Serialize for ReplayIdentity
impl StructuralPartialEq for ReplayIdentity
Auto Trait Implementations§
impl Freeze for ReplayIdentity
impl RefUnwindSafe for ReplayIdentity
impl Send for ReplayIdentity
impl Sync for ReplayIdentity
impl Unpin for ReplayIdentity
impl UnsafeUnpin for ReplayIdentity
impl UnwindSafe for ReplayIdentity
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