Struct FlattenOk
struct FlattenOk<I, T, E> { ... }
where
I: Iterator<Item = Result<T, E>>,
T: IntoIterator
An iterator adaptor that flattens Result::Ok values and
allows Result::Err values through unchanged.
See .flatten_ok() for more information.
Implementations
impl<I> IntoIterator for FlattenOk<I, T, E>
fn into_iter(self: Self) -> I
impl<I, T, E> Clone for FlattenOk<I, T, E>
fn clone(self: &Self) -> Self
impl<I, T, E> Debug for FlattenOk<I, T, E>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<I, T, E> DoubleEndedIterator for FlattenOk<I, T, E>
fn next_back(self: &mut Self) -> Option<<Self as >::Item>fn rfold<B, F>(self: Self, init: B, f: F) -> B where Self: Sized, F: FnMut(B, <Self as >::Item) -> B
impl<I, T, E> Freeze for FlattenOk<I, T, E>
impl<I, T, E> FusedIterator for FlattenOk<I, T, E>
impl<I, T, E> Iterator for FlattenOk<I, T, E>
fn next(self: &mut Self) -> Option<<Self as >::Item>fn fold<B, F>(self: Self, init: B, f: F) -> B where Self: Sized, F: FnMut(B, <Self as >::Item) -> Bfn size_hint(self: &Self) -> (usize, Option<usize>)
impl<I, T, E> RefUnwindSafe for FlattenOk<I, T, E>
impl<I, T, E> Send for FlattenOk<I, T, E>
impl<I, T, E> Sync for FlattenOk<I, T, E>
impl<I, T, E> Unpin for FlattenOk<I, T, E>
impl<I, T, E> UnsafeUnpin for FlattenOk<I, T, E>
impl<I, T, E> UnwindSafe for FlattenOk<I, T, E>
impl<T> Any for FlattenOk<I, T, E>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for FlattenOk<I, T, E>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for FlattenOk<I, T, E>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for FlattenOk<I, T, E>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for FlattenOk<I, T, E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Itertools for FlattenOk<I, T, E>
impl<T> ToOwned for FlattenOk<I, T, E>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for FlattenOk<I, T, E>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for FlattenOk<I, T, E>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for FlattenOk<I, T, E>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>