mz_storage_operators::persist_source

Trait Backpressureable

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Backpressureable for (usize, SerdeLeasedBatchPart)

Implementors§