pub trait AccumulatorEncoding<C, L>: Clone + Debugwhere
C: CurveAffine,
L: Loader<C>,{
type Accumulator: Clone + Debug;
// Required method
fn from_repr(repr: &[&L::LoadedScalar]) -> Result<Self::Accumulator, Error>;
}
Expand description
Accumulator encoding.
Required Associated Types§
Sourcetype Accumulator: Clone + Debug
type Accumulator: Clone + Debug
Accumulator to be encoded.
Required Methods§
Sourcefn from_repr(repr: &[&L::LoadedScalar]) -> Result<Self::Accumulator, Error>
fn from_repr(repr: &[&L::LoadedScalar]) -> Result<Self::Accumulator, Error>
Decode an AccumulatorEncoding::Accumulator
from serveral
crate::loader::ScalarLoader::LoadedScalar
s.
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.