Trait RangeConfig

Source
pub trait RangeConfig: Config + RangeBounds<usize> { }
Expand description

A marker trait for a Config type that is also a RangeBounds<usize>.

This is often used to configure length limits for variable-length collections like Vec<T> or Bytes.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§