pub trait Limit {
type Inner: Limit;
type Next: Limit;
const LOWER: usize;
const UPPER: usize;
const DESCRIPTION: &'static str;
// Provided method
fn check(size: usize) -> Result<usize, LimitError> { ... }
}
Required Associated Types§
Required Associated Constants§
Provided Methods§
Object Safety§
This trait is not object safe.