pub struct AlgorithmReceipt {
pub work_used: u64,
pub cells: u64,
pub edges: u64,
pub peak_memory_cells: usize,
pub cell_work: u64,
pub edge_work: u64,
}Expand description
Deterministic accounting evidence returned by a completed algorithm.
Fields§
§work_used: u64Total charged work.
cells: u64Number of evaluated dynamic-programming cells.
edges: u64Number of examined transitions or residual edges.
peak_memory_cells: usizeMaximum table cells retained simultaneously.
cell_work: u64Work charged per cell.
edge_work: u64Work charged per edge.
Trait Implementations§
Source§impl Clone for AlgorithmReceipt
impl Clone for AlgorithmReceipt
Source§fn clone(&self) -> AlgorithmReceipt
fn clone(&self) -> AlgorithmReceipt
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 AlgorithmReceipt
impl Debug for AlgorithmReceipt
impl Eq for AlgorithmReceipt
Source§impl PartialEq for AlgorithmReceipt
impl PartialEq for AlgorithmReceipt
impl StructuralPartialEq for AlgorithmReceipt
Auto Trait Implementations§
impl Freeze for AlgorithmReceipt
impl RefUnwindSafe for AlgorithmReceipt
impl Send for AlgorithmReceipt
impl Sync for AlgorithmReceipt
impl Unpin for AlgorithmReceipt
impl UnsafeUnpin for AlgorithmReceipt
impl UnwindSafe for AlgorithmReceipt
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