pub struct RangePlan {
pub first_frame_idx: usize,
pub last_frame_idx_inclusive: usize,
pub byte_start: u64,
pub byte_end_exclusive: u64,
pub slice_start_in_combined: u64,
pub slice_end_in_combined: u64,
}Expand description
lookup_range の結果。byte_start..byte_end_exclusive を S3 から fetch、
該当 frames を decompress し、結果バイト列を [slice_start_in_combined, slice_end_in_combined) で slice すれば最終結果。
Fields§
§first_frame_idx: usize§last_frame_idx_inclusive: usize§byte_start: u64§byte_end_exclusive: u64§slice_start_in_combined: u64§slice_end_in_combined: u64Trait Implementations§
impl Eq for RangePlan
impl StructuralPartialEq for RangePlan
Auto Trait Implementations§
impl Freeze for RangePlan
impl RefUnwindSafe for RangePlan
impl Send for RangePlan
impl Sync for RangePlan
impl Unpin for RangePlan
impl UnsafeUnpin for RangePlan
impl UnwindSafe for RangePlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more