pub trait GLWENoise<BE: Backend> {
// Required methods
fn glwe_noise<R, S, P>(
&self,
res: &R,
sk_prepared: &S,
pt_want: &P,
scratch: &mut Scratch<BE>,
) -> f64
where R: GLWEToRef,
S: GLWESecretPreparedToRef<BE>,
P: GLWEPlaintextToRef;
fn glwe_assert_noise<R, S, P>(
&self,
res: &R,
sk_prepared: &S,
pt_want: &P,
max_noise: f64,
)
where R: GLWEToRef,
S: GLWESecretPreparedToRef<BE>,
P: GLWEPlaintextToRef;
}Required Methods§
fn glwe_noise<R, S, P>( &self, res: &R, sk_prepared: &S, pt_want: &P, scratch: &mut Scratch<BE>, ) -> f64
fn glwe_assert_noise<R, S, P>( &self, res: &R, sk_prepared: &S, pt_want: &P, max_noise: f64, )
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.