pub trait Boundedness: KeyedBoundFoldLike + Sealed {
// Required method
fn is_bounded() -> bool;
}Expand description
A marker trait indicating whether a stream’s length is bounded (finite) or unbounded (potentially infinite).
Implementors of this trait use it to signal the boundedness property of a stream.
Required Methods§
Sourcefn is_bounded() -> bool
fn is_bounded() -> bool
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.