pub trait Chunkable<'a> {
type Chunk: 'a;
// Required method
fn as_chunks(
&'a self,
chunk_size: usize,
) -> impl Iterator<Item = Self::Chunk>;
}Expand description
Trait for chunking lists, for automatic chunked requests. This by design does not allocate, instead returning references into the original data.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".