oak_runtime::stream

Trait HasNext

Source
pub trait HasNext {
    // Required method
    fn has_next(&self) -> bool;
}
Expand description

Returns true if an item can be read from the stream with Iterator::next.

Required Methods§

Source

fn has_next(&self) -> bool

Implementors§

Source§

impl<'a> HasNext for FileMapStream<'a>

Source§

impl<'a> HasNext for StrStream<'a>