Trait KnownMaxLen
bm_le
pub trait KnownMaxLen { fn max_len() -> Option<usize>; }
Trait indicate MaxLenFromConfig has a known maximum length.
MaxLenFromConfig
fn max_len() -> Option<usize>
Get the static maximum length.
impl KnownMaxLen for NoMaxLen
impl<U: Unsigned> KnownMaxLen for U