pub fn add_check<C: TryInto<Check>>(&mut self, check: C) -> Result<(), error::Token>
    where
        error::Token: From<<C as TryInto<Check>>::Error>,
    {
        let check = check.try_into()?;
        self.checks.push(check);
        Ok(())
    }
/// add a check to the authorizer
add a check to the authorizer
add a check to the authorizer
pub fn add_check<C: TryInto<Check>>(&mut self, check: C) -> Result<(), error::Token>
    where
        error::Token: From<<C as TryInto<Check>>::Error>,
    {
        let check = check.try_into()?;
        self.checks.push(check);
        Ok(())
    }
pub fn add_check < C : TryInto < Check > > ( & mut self , check : C ) -> Result < ( ) , error :: Token > where error :: Token : From < < C as TryInto < Check > > :: Error > , { let check = check . try_into ( ) ? ; self . checks . push ( check ) ; Ok ( ( ) ) }
add a check to the authorizer
add a check to the authorizer
&mut self
check
C
&mut self
check
C