pub trait ReadableChunk: Send {
type Data<'a>: AsRef<[u8]>;
}
Expand description
Something that specifies the data type for a Chunk
that can
be read from a stream.
Required Associated Types§
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.