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§
Sourcefn into_batch(data: Vec<Self>) -> DataBatch
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§
impl IntoDataBatch for Bar
impl IntoDataBatch for CustomData
impl IntoDataBatch for DefiData
Available on crate feature
defi only.