Trait Batchable
pub trait Batchable: Sized {
// Required methods
fn batch(value: Vec<Self>) -> Self;
fn unbatch(self) -> Vec<Self>;
}Expand description
Trait for a type that can be batched and unbatched (split).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".