Skip to main content

SizedMessage

Trait SizedMessage 

Source
pub trait SizedMessage {
    // Required method
    fn size(&self) -> usize;
}
Expand description

Represents anything that occupies a capacity in a MemoryBufferedStream.

Required Methods§

Source

fn size(&self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SizedMessage for RecordBatch

Source§

fn size(&self) -> usize

Implementors§