#[repr(u8)]pub enum GateVariant {
Null = 0,
HashChain = 1,
Merkle = 2,
}Expand description
Which gate variant produced a receipt.
Variants§
Null = 0
No integrity check. Used only to establish baseline throughput.
HashChain = 1
Sequential SHA-256 hash chain: each entry chains the previous hash.
Merkle = 2
Merkle Mountain Range: append-only tree with O(log n) per insert.
Trait Implementations§
Source§impl Clone for GateVariant
impl Clone for GateVariant
impl Copy for GateVariant
Source§impl Debug for GateVariant
impl Debug for GateVariant
impl Eq for GateVariant
Source§impl PartialEq for GateVariant
impl PartialEq for GateVariant
impl StructuralPartialEq for GateVariant
Auto Trait Implementations§
impl Freeze for GateVariant
impl RefUnwindSafe for GateVariant
impl Send for GateVariant
impl Sync for GateVariant
impl Unpin for GateVariant
impl UnsafeUnpin for GateVariant
impl UnwindSafe for GateVariant
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