Skip to main content

BmtChunk

Trait BmtChunk 

Source
pub trait BmtChunk: Chunk {
    // Required method
    fn span(&self) -> u64;
}
Expand description

Trait for chunks that contain a BMT body

Required Methods§

Source

fn span(&self) -> u64

Get the span of the chunk data

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<const BODY_SIZE: usize> BmtChunk for ContentChunk<BODY_SIZE>

Source§

impl<const BODY_SIZE: usize> BmtChunk for SingleOwnerChunk<BODY_SIZE>