pub trait Backpressureable: Clone + 'static {
    // Required method
    fn byte_size(&self) -> usize;
}
Expand description

A trait representing a type that can be used in backpressure.

Required Methods§

source

fn byte_size(&self) -> usize

Return the weight of the object, in bytes.

Implementations on Foreign Types§

source§

impl Backpressureable for (usize, SerdeLeasedBatchPart)

Implementors§