Struct aws_smithy_async::future::fn_stream::TryFlatMap
source · [−]pub struct TryFlatMap<I>(_);
Expand description
Utility wrapper to flatten paginated results
When flattening paginated results, it’s most convenient to produce an iterator where the Result
is present in each item. This provides items()
which can wrap an stream of Result<Page, Err>
and produce a stream of Result<Item, Err>
.
Implementations
sourceimpl<I> TryFlatMap<I>
impl<I> TryFlatMap<I>
Trait Implementations
Auto Trait Implementations
impl<I> RefUnwindSafe for TryFlatMap<I> where
I: RefUnwindSafe,
impl<I> Send for TryFlatMap<I> where
I: Send,
impl<I> Sync for TryFlatMap<I> where
I: Sync,
impl<I> Unpin for TryFlatMap<I> where
I: Unpin,
impl<I> UnwindSafe for TryFlatMap<I> where
I: 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