pub fn at_most(&self, maximum: usize) -> Result<(), Error> {
        let actual = self.0.len();
        if actual > maximum {
            Err(Error::TooManyArguments {
                expected: maximum,
                actual,
            })
        } else {
            Ok(())
        }
    }
/// Ensures that there are no more than the requested number of arguments.
Ensures that there are no more than the requested number of arguments.
Ensures that there are no more than the requested number of arguments .
pub fn at_most(&self, maximum: usize) -> Result<(), Error> {
        let actual = self.0.len();
        if actual > maximum {
            Err(Error::TooManyArguments {
                expected: maximum,
                actual,
            })
        } else {
            Ok(())
        }
    }
pub fn at_most ( & self , maximum : usize ) -> Result < ( ) , Error > { let actual = self . 0 . len ( ) ; if actual > maximum { Err ( Error :: TooManyArguments { expected : maximum , actual , } ) } else { Ok ( ( ) ) } }
Ensures that there are no more than the requested number of arguments.
Ensures that there are no more than the requested number of arguments .
&self
maximum
usize