pub struct MassMapBucketMeta {
pub offset: u64,
pub length: u32,
pub count: u32,
}Expand description
Metadata describing an individual hash bucket inside a massmap file.
Fields§
§offset: u64Offset of the serialized bucket payload within the massmap file.
length: u32Length in bytes of the serialized bucket payload.
count: u32Number of entries stored in this bucket.
Trait Implementations§
Source§impl Clone for MassMapBucketMeta
impl Clone for MassMapBucketMeta
Source§fn clone(&self) -> MassMapBucketMeta
fn clone(&self) -> MassMapBucketMeta
Returns a duplicate of the value. Read more
1.0.0 · 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 MassMapBucketMeta
impl Debug for MassMapBucketMeta
Source§impl Default for MassMapBucketMeta
impl Default for MassMapBucketMeta
Source§fn default() -> MassMapBucketMeta
fn default() -> MassMapBucketMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MassMapBucketMeta
impl<'de> Deserialize<'de> for MassMapBucketMeta
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
Source§impl Ord for MassMapBucketMeta
impl Ord for MassMapBucketMeta
Source§fn cmp(&self, other: &MassMapBucketMeta) -> Ordering
fn cmp(&self, other: &MassMapBucketMeta) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MassMapBucketMeta
impl PartialEq for MassMapBucketMeta
Source§impl PartialOrd for MassMapBucketMeta
impl PartialOrd for MassMapBucketMeta
Source§impl Serialize for MassMapBucketMeta
impl Serialize for MassMapBucketMeta
impl Copy for MassMapBucketMeta
impl Eq for MassMapBucketMeta
impl StructuralPartialEq for MassMapBucketMeta
Auto Trait Implementations§
impl Freeze for MassMapBucketMeta
impl RefUnwindSafe for MassMapBucketMeta
impl Send for MassMapBucketMeta
impl Sync for MassMapBucketMeta
impl Unpin for MassMapBucketMeta
impl UnwindSafe for MassMapBucketMeta
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