Trait opendp::measurements::GaussianDomain
source · pub trait GaussianDomain<MO, QI>: Domain{
type InputMetric: Metric<Distance = QI>;
// Required method
fn make_gaussian(
input_domain: Self,
input_metric: Self::InputMetric,
scale: MO::Distance,
k: Option<i32>
) -> Fallible<Measurement<Self, Self::Carrier, Self::InputMetric, MO>>;
}
Required Associated Types§
type InputMetric: Metric<Distance = QI>
Required Methods§
fn make_gaussian( input_domain: Self, input_metric: Self::InputMetric, scale: MO::Distance, k: Option<i32> ) -> Fallible<Measurement<Self, Self::Carrier, Self::InputMetric, MO>>
Object Safety§
This trait is not object safe.