pub struct SegmentIndexEntry {
pub key: Vec<u8>,
pub payload_offset: u32,
pub payload_len: u32,
}Expand description
Segment index entry mapping key -> payload byte range.
Fields§
§key: Vec<u8>§payload_offset: u32§payload_len: u32Trait Implementations§
Source§impl Clone for SegmentIndexEntry
impl Clone for SegmentIndexEntry
Source§fn clone(&self) -> SegmentIndexEntry
fn clone(&self) -> SegmentIndexEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentIndexEntry
impl Debug for SegmentIndexEntry
Source§impl PartialEq for SegmentIndexEntry
impl PartialEq for SegmentIndexEntry
Source§fn eq(&self, other: &SegmentIndexEntry) -> bool
fn eq(&self, other: &SegmentIndexEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SegmentIndexEntry
impl StructuralPartialEq for SegmentIndexEntry
Auto Trait Implementations§
impl Freeze for SegmentIndexEntry
impl RefUnwindSafe for SegmentIndexEntry
impl Send for SegmentIndexEntry
impl Sync for SegmentIndexEntry
impl Unpin for SegmentIndexEntry
impl UnsafeUnpin for SegmentIndexEntry
impl UnwindSafe for SegmentIndexEntry
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