ThresholdFor

Trait ThresholdFor 

Source
pub trait ThresholdFor<T> {
    type Error;

    // Required method
    fn check_threshold(
        &self,
        value: &T,
        ref_value: &T,
    ) -> Result<(), Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn check_threshold(&self, value: &T, ref_value: &T) -> Result<(), Self::Error>

Implementors§