pub struct Receipt {
pub status: &'static str,
pub payload_sha256: String,
pub transient_storage_cleanup_completed: bool,
pub archive_bytes: u64,
pub next_level: u64,
pub discovered: u64,
pub queued: u64,
pub counters: Counters,
}Expand description
Native execution receipt. Serialization alone never proves model correctness.
Fields§
§status: &'static strpaused-incomplete or recovered; a paused run is not exhaustive success.
payload_sha256: StringPayload SHA-256, not an authenticity guarantee.
transient_storage_cleanup_completed: boolWhether configured transient queue/log cleanup completed without failure. A committed archive can exist despite a later storage failure; this is execution evidence, never an archive correctness certificate.
archive_bytes: u64Encoded native archive bytes.
next_level: u64Next frontier’s BFS level, where actual recovery starts.
discovered: u64Concrete discovery records persisted.
queued: u64Concrete ordered queue entries persisted.
counters: CountersExplicit counter policy.
Implementations§
Source§impl Receipt
impl Receipt
Sourcepub fn finish_storage(
&mut self,
frontier: &FrontierUsage,
predecessor: &PredecessorUsage,
)
pub fn finish_storage( &mut self, frontier: &FrontierUsage, predecessor: &PredecessorUsage, )
Records cleanup of the actual transient frontier and predecessor owners.
Trait Implementations§
Source§impl Serialize for Receipt
impl Serialize for Receipt
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for Receipt
impl Freeze for Receipt
impl Move for Receipt
impl RefUnwindSafe for Receipt
impl Send for Receipt
impl Sync for Receipt
impl Unpin for Receipt
impl UnsafeUnpin for Receipt
impl UnwindSafe for Receipt
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