pub trait Commit {
type Input;
type Output;
type Randomizer;
// Required method
fn commit(
&self,
input: &[Self::Input],
randomizer: &Self::Randomizer,
) -> Result<Self::Output, Error>;
}Expand description
A trait for a commitment scheme.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".