Skip to main content

ChunkMetadata

Trait ChunkMetadata 

Source
pub trait ChunkMetadata {
    // Required method
    fn bytes(&self) -> Bytes;
}
Expand description

Core trait for chunk metadata

Required Methods§

Source

fn bytes(&self) -> Bytes

Get the metadata bytes for this chunk

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§