pub trait FromStream<T>: FromStreamPriv<T> { }
Available on crate feature
stream
only.Expand description
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 langague.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.