Trait destream_json::de::Read [−][src]
pub trait Read: Send + Unpin { #[must_use] fn next<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Option<Result<Bytes, Error>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn is_terminated(&self) -> bool; }
Required methods
#[must_use]fn next<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Option<Result<Bytes, Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn next<'life0, 'async_trait>(&'life0 mut self
) -> Pin<Box<dyn Future<Output = Option<Result<Bytes, Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,