Trait DataFrame

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

Source

fn source(&self) -> &Self::Source

FrameSource - source info structure

Source

fn chunks( &self, ) -> impl Send + Iterator<Item = <Self::Chunk as MemBlock>::Ref<'_>>

Source

fn into_chunks(self) -> impl Send + Iterator<Item = Self::Chunk>

Provided Methods§

Source

fn put_into(self, chunks: &mut Chunked<Self::Chunk>)
where Self::Chunk: Buf,

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§