pub trait StreamExt: Stream {
// Provided methods
fn lend(self) -> Lend<Self>
where Self: Sized + Unpin { ... }
fn lend_mut(self) -> LendMut<Self>
where Self: Sized + Unpin { ... }
}Expand description
An extension for the Stream trait
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".