zebra_state::error

Trait DuplicateNullifierError

source
pub trait DuplicateNullifierError {
    // Required method
    fn duplicate_nullifier_error(
        &self,
        in_finalized_state: bool,
    ) -> ValidateContextError;
}
Expand description

Trait for creating the corresponding duplicate nullifier error from a nullifier.

Required Methods§

source

fn duplicate_nullifier_error( &self, in_finalized_state: bool, ) -> ValidateContextError

Returns the corresponding duplicate nullifier error for self.

Implementations on Foreign Types§

source§

impl DuplicateNullifierError for Nullifier

source§

fn duplicate_nullifier_error( &self, in_finalized_state: bool, ) -> ValidateContextError

source§

impl DuplicateNullifierError for Nullifier

source§

fn duplicate_nullifier_error( &self, in_finalized_state: bool, ) -> ValidateContextError

source§

impl DuplicateNullifierError for Nullifier

source§

fn duplicate_nullifier_error( &self, in_finalized_state: bool, ) -> ValidateContextError

Implementors§