/// Returns the search key for this extent; that is, a key which is <= this key under Ord and
/// OrdLowerBound.
/// This would be used when searching for an extent with |find| (when we want to find any
/// overlapping extent, which could include extents that start earlier).
Returns the search key for this extent; that is, a key which is <= this key under Ord and
OrdLowerBound.
This would be used when searching for an extent with |find| (when we want to find any
overlapping extent, which could include extents that start earlier).
Returns the search key for this extent ; that is a key which is < = this key under Ord and OrdLowerBound . This would be used when searching for an extent with |find| ( when we want to find any overlapping extent which could include extents that start earlier ) .
pub fn search_key(&self) -> Self {
        if let Self {
            object_id,
            data: ObjectKeyData::Attribute(attribute_id, AttributeKey::Extent(e)),
        } = self
        {
            Self::with_extent_key(*object_id, *attribute_id, e.search_key())
        } else {
            self.clone()
        }
    }
pub fn search_key ( & self ) -> Self { if let Self { object_id , data : ObjectKeyData :: Attribute ( attribute_id , AttributeKey :: Extent ( e ) ) , } = self { Self :: with_extent_key ( * object_id , * attribute_id , e . search_key ( ) ) } else { self . clone ( ) } }
Returns the search key for this extent; that is, a key which is <= this key under Ord and
OrdLowerBound.
Returns the search key for this extent ; that is a key which is < = this key under Ord and OrdLowerBound .
&self