Struct tap::mappedvfile::FileOffset
source · [−]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
Auto Trait Implementations
impl !RefUnwindSafe for FileOffset
impl Send for FileOffset
impl Sync for FileOffset
impl Unpin for FileOffset
impl !UnwindSafe for FileOffset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more