Skip to main content

IntoDataBatch

Trait IntoDataBatch 

Source
pub trait IntoDataBatch: Sized {
    // Required method
    fn into_batch(data: Vec<Self>) -> DataBatch;
}
Expand description

Typed values that wrap into their DataBatch variant.

Required Methods§

Source

fn into_batch(data: Vec<Self>) -> DataBatch

Wraps owned typed values in their DataBatch variant.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§