fallible_iterator

Function once

Source
pub fn once<T, E>(value: T) -> Once<T, E>
Expand description

Creates an iterator that yields an element exactly once.