pub trait UpdateSlice: Stream {
// Required method
fn update_slice(self, inner: Self::Slice) -> Self;
}
Expand description
Convert a Stream
into an appropriate Output
type
Required Methods§
Sourcefn update_slice(self, inner: Self::Slice) -> Self
fn update_slice(self, inner: Self::Slice) -> Self
Convert an Output
type to be used as Stream
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.