pub struct SegmentIndexEntry {
pub last_key: String,
pub block: BlockHandle,
}Expand description
One index entry: the last row key of a data block plus its handle.
Fields§
§last_key: StringGreatest row key in block, used to binary-search candidate blocks.
block: BlockHandleData-section location and integrity metadata.
Trait 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<'de> Deserialize<'de> for SegmentIndexEntry
impl<'de> Deserialize<'de> for SegmentIndexEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SegmentIndexEntry
Source§impl PartialEq for SegmentIndexEntry
impl PartialEq for SegmentIndexEntry
Source§impl Serialize for SegmentIndexEntry
impl Serialize 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