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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Backpressureable for (usize, SerdeLeasedBatchPart)

Implementors§