pub(super) trait Next {
// Required methods
fn next(stream: &Stream) -> Option<Key>;
fn set_next(stream: &mut Stream, key: Option<Key>);
fn take_next(stream: &mut Stream) -> Option<Key>;
fn is_queued(stream: &Stream) -> bool;
fn set_queued(stream: &mut Stream, val: bool);
}
Required Methods§
fn next(stream: &Stream) -> Option<Key>
fn set_next(stream: &mut Stream, key: Option<Key>)
fn take_next(stream: &mut Stream) -> Option<Key>
fn is_queued(stream: &Stream) -> bool
fn set_queued(stream: &mut Stream, val: 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.