PotentiallyPrunedRctProofs

Trait PotentiallyPrunedRctProofs 

Source
pub(crate) trait PotentiallyPrunedRctProofs:
    Clone
    + PartialEq
    + Eq
    + Debug {
    // Required methods
    fn potentially_pruned_write(&self, w: &mut impl Write) -> Result<()>;
    fn potentially_pruned_read(
        ring_length: usize,
        inputs: usize,
        outputs: usize,
        r: &mut impl Read,
    ) -> Result<Option<Self>>;
    fn potentially_pruned_rct_type(&self) -> RctType;
    fn base(&self) -> &RctBase;
}

Required Methods§

Source

fn potentially_pruned_write(&self, w: &mut impl Write) -> Result<()>

Source

fn potentially_pruned_read( ring_length: usize, inputs: usize, outputs: usize, r: &mut impl Read, ) -> Result<Option<Self>>

Source

fn potentially_pruned_rct_type(&self) -> RctType

Source

fn base(&self) -> &RctBase

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§