pub trait Stream: StreamOnce + ResetStream + Positioned { }
Expand description
A stream of tokens which can be duplicated
This is a trait over types which implement the StreamOnce
, ResetStream
and Positioned
traits. If you need a custom Stream
object then implement those traits and Stream
is
implemented automatically.