pub struct Segment {
pub name: String,
pub index: usize,
pub access: Access,
}Expand description
One member of an AccessPlan::SegmentSet, carrying its own access strategy.
Fields§
§name: StringMember name within the archive (the ordering signal for a split set).
index: usizeThe member’s index in the archive’s table.
access: AccessThis segment’s most-seekable access strategy.
Trait Implementations§
impl Eq for Segment
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl Freeze for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnsafeUnpin for Segment
impl UnwindSafe for Segment
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