referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::ContainsLengthBound

pub trait ContainsLengthBound {
    // Required methods
    fn min_len() -> usize;
    fn max_len() -> usize;
}
Expand description

A trait for querying bound for the length of an implementation of Contains

Required Methods§

fn min_len() -> usize

Minimum number of elements contained

fn max_len() -> usize

Maximum number of elements contained

Object Safety§

This trait is not object safe.

Implementors§