Trait tokio::stream::FromStream[][src]

pub trait FromStream<T>: FromStreamPriv<T> { }

Convert from a Stream.

This trait is not intended to be used directly. Instead, call StreamExt::collect().

Implementing

Currently, this trait may not be implemented by third parties. The trait is sealed in order to make changes in the future. Stabilization is pending enhancements to the Rust language.

Implementations on Foreign Types

impl FromStream<()> for ()[src]

impl<T: AsRef<str>> FromStream<T> for String[src]

impl<T> FromStream<T> for Vec<T>[src]

impl<T> FromStream<T> for Box<[T]>[src]

impl<T, U, E> FromStream<Result<T, E>> for Result<U, E> where
    U: FromStream<T>, 
[src]

impl<T: Buf> FromStream<T> for Bytes[src]

impl<T: Buf> FromStream<T> for BytesMut[src]

Loading content...

Implementors

Loading content...