pub trait Limit {
    type Inner: Limit;

    const LOWER: usize;
    const UPPER: usize;
    const DESCRIPTION: &'static str;

    fn check(size: usize) -> Result<usize, LimitError> { ... }
}

Required Associated Types

Required Associated Constants

Provided Methods

Implementations on Foreign Types

Implementors