Trait miden_objects::transaction::ToNullifier

source ·
pub trait ToNullifier: Debug + Clone + PartialEq + Eq + Serializable + Deserializable + Sized {
    // Required method
    fn nullifier(&self) -> Nullifier;
}
Expand description

Defines how a note object can be reduced to a nullifier.

This trait is implemented on both InputNote and Nullifier so that we can treat them generically as InputNotes.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§