pub trait Stream: Clone {
type Item: Positioner;
// Required method
fn uncons(self) -> Result<(Self::Item, Self), Error<Self::Item>>;
}
Expand description
A stream is a sequence of items that can be extracted one by one
Required Associated Types§
type Item: Positioner
Required Methods§
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.