Function fallible_iterator::once

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

Creates an iterator that yields an element exactly once.