ReadableChunk

Trait ReadableChunk 

Source
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§

Source

type Data<'a>: AsRef<[u8]>

The type that will hold the read data.

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.

Implementors§