pub struct SeqStream<T, S: Stream<Item = T>> { /* private fields */ }
Expand description
Disambiguate a sequence from a map when encoding a stream.
Trait Implementations§
source§impl<'en, T, S> IntoStream<'en> for SeqStream<T, S>
impl<'en, T, S> IntoStream<'en> for SeqStream<T, S>
Auto Trait Implementations§
impl<T, S> RefUnwindSafe for SeqStream<T, S>where
S: RefUnwindSafe,
impl<T, S> Send for SeqStream<T, S>where
S: Send,
impl<T, S> Sync for SeqStream<T, S>where
S: Sync,
impl<T, S> Unpin for SeqStream<T, S>where
S: Unpin,
impl<T, S> UnwindSafe for SeqStream<T, S>where
S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more