Trait DataPartitionProvider

Source
pub trait DataPartitionProvider:
    DynClone
    + Debug
    + Sync
    + Send {
    // Required methods
    fn part_size(&self) -> PartSize;
    fn feedback(&self, feedback: DataPartitionProviderFeedback<'_>);
}
Expand description

分片大小获取接口

Required Methods§

Source

fn part_size(&self) -> PartSize

获取分片大小

Source

fn feedback(&self, feedback: DataPartitionProviderFeedback<'_>)

反馈分片大小结果

Trait Implementations§

Source§

impl<'clone> Clone for Box<dyn DataPartitionProvider + 'clone>

Source§

fn clone(&self) -> Box<dyn DataPartitionProvider + 'clone>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'clone> Clone for Box<dyn DataPartitionProvider + Send + 'clone>

Source§

fn clone(&self) -> Box<dyn DataPartitionProvider + Send + 'clone>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'clone> Clone for Box<dyn DataPartitionProvider + Sync + Send + 'clone>

Source§

fn clone(&self) -> Box<dyn DataPartitionProvider + Sync + Send + 'clone>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'clone> Clone for Box<dyn DataPartitionProvider + Sync + 'clone>

Source§

fn clone(&self) -> Box<dyn DataPartitionProvider + Sync + 'clone>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementations on Foreign Types§

Source§

impl<'a, T> DataPartitionProvider for &'a T

Source§

impl<'a, T> DataPartitionProvider for &'a mut T

Source§

impl<T> DataPartitionProvider for Box<T>

Source§

impl<T> DataPartitionProvider for Rc<T>

Source§

impl<T> DataPartitionProvider for Arc<T>

Implementors§