pub trait ToBatchPb {
// Required method
fn to_batch_prost_body(&self) -> NodeBody;
}Required Methods§
fn to_batch_prost_body(&self) -> NodeBody
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl ToBatchPb for BatchDelete
impl ToBatchPb for BatchExchange
The serialization of Batch Exchange is default cuz it will be rewritten in scheduler.