pub fn add_token(&mut self, token: &'t Biscuit) -> Result<(), error::Token> {
        if self.token.is_some() {
            return Err(error::Logic::AuthorizerNotEmpty.into());
        }

        self.token = Some(token);

        Ok(())
    }
/// add a token to an empty authorizer
add a token to an empty authorizer
add a token to an empty authorizer
pub fn add_token(&mut self, token: &'t Biscuit) -> Result<(), error::Token> {
        if self.token.is_some() {
            return Err(error::Logic::AuthorizerNotEmpty.into());
        }
        self.token = Some(token);
        Ok(())
    }
pub fn add_token ( & mut self , token : & ' t Biscuit ) -> Result < ( ) , error :: Token > { if self . token . is_some ( ) { return Err ( error :: Logic :: AuthorizerNotEmpty . into ( ) ) ; } self . token = Some ( token ) ; Ok ( ( ) ) }
add a token to an empty authorizer
add a token to an empty authorizer
&mut self
token
&'t Biscuit
&mut self
token
&'t Biscuit