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§

source

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.

Implementations on Foreign Types§

source§

impl<T: Config> CheckRequestDistanceEvaluation<T> for ()

source§

fn check_request_distance_evaluation( _idty_index: T::IdtyIndex ) -> Result<(), DispatchError>

Implementors§