pub enum Flat<I, Iter> {
Single(I),
Many(Iter),
}
Expand description
A utility type used to flatten input trees. See Stream::from_nested
.
Variants
Single(I)
The input tree flattens into a single input.
Many(Iter)
The input tree flattens into many sub-trees.
Auto Trait Implementations
impl<I, Iter> RefUnwindSafe for Flat<I, Iter> where
I: RefUnwindSafe,
Iter: RefUnwindSafe,
impl<I, Iter> Send for Flat<I, Iter> where
I: Send,
Iter: Send,
impl<I, Iter> Sync for Flat<I, Iter> where
I: Sync,
Iter: Sync,
impl<I, Iter> Unpin for Flat<I, Iter> where
I: Unpin,
Iter: Unpin,
impl<I, Iter> UnwindSafe for Flat<I, Iter> where
I: UnwindSafe,
Iter: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more