1 2 3 4 5 6 7 8 9 10 11 12
use quire::validate::{Mapping, Scalar}; use intern::Authorizer; use routing::RoutingTable; pub type Authorization = RoutingTable<Authorizer>; pub fn validator<'x>() -> Mapping<'x> { Mapping::new(Scalar::new(), Scalar::new()) }