pub struct FileOffset {
    pub builder: Arc<dyn VFileBuilder>,
    pub offset: u64,
    pub id: u32,
}
Expand description

FileOffset contain a builder, the offset from where we start reading the data of the builder, and a unique id.

Fields

builder: Arc<dyn VFileBuilder>

Builder from which data will be read.

offset: u64

Offset of the data in the VFileBuilder builder.

id: u32

Unique id for each file FileOffset in a FileRanges, used by the cache to identify cached FileOffset.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.