pub struct MassMapBucket {
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 MassMapBucket
impl Clone for MassMapBucket
Source§fn clone(&self) -> MassMapBucket
fn clone(&self) -> MassMapBucket
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 MassMapBucket
impl Debug for MassMapBucket
Source§impl Default for MassMapBucket
impl Default for MassMapBucket
Source§fn default() -> MassMapBucket
fn default() -> MassMapBucket
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MassMapBucket
impl<'de> Deserialize<'de> for MassMapBucket
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 MassMapBucket
impl Ord for MassMapBucket
Source§fn cmp(&self, other: &MassMapBucket) -> Ordering
fn cmp(&self, other: &MassMapBucket) -> 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 MassMapBucket
impl PartialEq for MassMapBucket
Source§impl PartialOrd for MassMapBucket
impl PartialOrd for MassMapBucket
Source§impl Serialize for MassMapBucket
impl Serialize for MassMapBucket
impl Copy for MassMapBucket
impl Eq for MassMapBucket
impl StructuralPartialEq for MassMapBucket
Auto Trait Implementations§
impl Freeze for MassMapBucket
impl RefUnwindSafe for MassMapBucket
impl Send for MassMapBucket
impl Sync for MassMapBucket
impl Unpin for MassMapBucket
impl UnwindSafe for MassMapBucket
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