pub trait DataFrame: Send + Clone {
type Source: FrameSource;
type Chunk: Send + MemBlock;
// Required methods
fn source(&self) -> &Self::Source;
fn chunks(
&self,
) -> impl Send + Iterator<Item = <Self::Chunk as MemBlock>::Ref<'_>>;
fn into_chunks(self) -> impl Send + Iterator<Item = Self::Chunk>;
// Provided method
fn put_into(self, chunks: &mut Chunked<Self::Chunk>)
where Self::Chunk: Buf { ... }
}
Expand description
Chunk of data in the stream
Required Associated Types§
Required Methods§
fn chunks( &self, ) -> impl Send + Iterator<Item = <Self::Chunk as MemBlock>::Ref<'_>>
fn into_chunks(self) -> impl Send + Iterator<Item = Self::Chunk>
Provided Methods§
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.