Function one

Source
pub fn one<'a, T>(
    iter: impl Iterator<Item = Result<T, Error>> + 'a,
) -> Result<T, Error>