pub trait FromDataBatch: Sized {
// Required method
fn from_batch(batch: DataBatch) -> Result<Vec<Self>>;
}Expand description
Typed values that unwrap from their DataBatch variant.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl FromDataBatch for Bar
impl FromDataBatch for CustomData
impl FromDataBatch for DefiData
Available on crate feature
defi only.