Skip to content
API REFERENCEUsage guides →

cellpack::store::ReadRange ​

struct

Module contract · All interfaces

At a glance ​

pub struct ReadRange {
    pub offset: u64,
    pub length: usize,
    pub buffer_offset: usize,
}

One read: length bytes at offset (from the records region start) land at buffer_offset in the read buffer.

Ranges never overlap and their buffer offsets tile 0..read_bytes.

Fields and variants ​

offset ​

offset: u64

length ​

length: usize

buffer_offset ​

buffer_offset: usize

Implemented traits ​

impl Clone for ReadRange
impl Debug for ReadRange

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition