pub trait BatchSizeProvider:
DynClone
+ Debug
+ Send
+ Sync {
// Required method
fn batch_size(&self) -> usize;
}
Expand description
最大批量操作数获取接口
Required Methods§
Sourcefn batch_size(&self) -> usize
fn batch_size(&self) -> usize
获取最大批量操作数
Trait Implementations§
Source§impl<'clone> Clone for Box<dyn BatchSizeProvider + 'clone>
impl<'clone> Clone for Box<dyn BatchSizeProvider + 'clone>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more