pub trait GGSWNoise<BE: Backend> {
// Required methods
fn ggsw_assert_noise<R, S, P, F>(
&self,
res: &R,
sk_prepared: &S,
pt_want: &P,
max_noise: &F,
)
where R: GGSWToRef,
S: GLWESecretPreparedToRef<BE>,
P: ScalarZnxToRef,
F: Fn(usize) -> f64;
fn ggsw_print_noise<R, S, P>(&self, res: &R, sk_prepared: &S, pt_want: &P)
where R: GGSWToRef,
S: GLWESecretPreparedToRef<BE>,
P: ScalarZnxToRef;
}Required Methods§
fn ggsw_assert_noise<R, S, P, F>( &self, res: &R, sk_prepared: &S, pt_want: &P, max_noise: &F, )
fn ggsw_print_noise<R, S, P>(&self, res: &R, sk_prepared: &S, pt_want: &P)
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.