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<Vec<u8>, 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<Vec<u8>, Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

fn is_terminated(&self) -> bool[src]

Loading content...

Implementors

impl<R: AsyncRead + Send + Unpin> Read for SourceReader<R>[src]

impl<S: Stream<Item = Result<Vec<u8>, Error>> + Send + Unpin> Read for SourceStream<S>[src]

Loading content...