pub trait CheckRequestDistanceEvaluation<T: Config> {
// Required method
fn check_request_distance_evaluation(
idty_index: T::IdtyIndex
) -> Result<(), DispatchError>;
}
Expand description
Trait for checking if a request for distance evaluation is allowed.
Required Methods§
sourcefn check_request_distance_evaluation(
idty_index: T::IdtyIndex
) -> Result<(), DispatchError>
fn check_request_distance_evaluation( idty_index: T::IdtyIndex ) -> Result<(), DispatchError>
Check if the request for distance evaluation is allowed for the given identity.
Object Safety§
This trait is not object safe.