Trait ReceiptChainHashInterface

Source
pub trait ReceiptChainHashInterface {
    type W: WitnessGenerator<Fp>;
    type Index;

    // Required method
    fn cons_zkapp_command_commitment(
        index: Self::Index,
        element: Fp,
        other: ReceiptChainHash,
        w: &mut Self::W,
    ) -> ReceiptChainHash;
}

Required Associated Types§

Required Methods§

Source

fn cons_zkapp_command_commitment( index: Self::Index, element: Fp, other: ReceiptChainHash, w: &mut Self::W, ) -> ReceiptChainHash

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§