Trait TxnVersionInterface

Source
pub trait TxnVersionInterface {
    type W: WitnessGenerator<Fp>;
    type Bool: BoolInterface;

    // Required methods
    fn equal_to_current(version: TxnVersion, w: &mut Self::W) -> Self::Bool;
    fn older_than_current(version: TxnVersion, w: &mut Self::W) -> Self::Bool;
}

Required Associated Types§

Required Methods§

Source

fn equal_to_current(version: TxnVersion, w: &mut Self::W) -> Self::Bool

Source

fn older_than_current(version: TxnVersion, w: &mut Self::W) -> Self::Bool

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§