[−][src]Trait destream::de::SeqAccess
Provides a Visitor
access to each element of a sequence in the input.
This is a trait that a Decoder
passes to a Visitor
implementation,
which decodes each item in a sequence.
Based on serde::de::SeqAccess
.
Associated Types
Loading content...Required methods
#[must_use]pub fn next_element<'life0, 'async_trait, T: FromStream>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<T>, Self::Error>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
Returns Ok(Some(value))
for the next value in the sequence,
or Ok(None)
if there are no more remaining items.
Provided methods
pub fn size_hint(&self) -> Option<usize>
[src]
Returns the number of elements remaining in the sequence, if known.