pub struct MdbShardHeader {
pub version: u64,
pub footer_size: u64,
}Expand description
48-byte shard header: magic tag + version + footer size.
Fields§
§version: u64Trait Implementations§
Source§impl Clone for MdbShardHeader
impl Clone for MdbShardHeader
Source§fn clone(&self) -> MdbShardHeader
fn clone(&self) -> MdbShardHeader
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 MdbShardHeader
impl Debug for MdbShardHeader
Source§impl Default for MdbShardHeader
impl Default for MdbShardHeader
Source§impl PartialEq for MdbShardHeader
impl PartialEq for MdbShardHeader
Source§fn eq(&self, other: &MdbShardHeader) -> bool
fn eq(&self, other: &MdbShardHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MdbShardHeader
Auto Trait Implementations§
impl Freeze for MdbShardHeader
impl RefUnwindSafe for MdbShardHeader
impl Send for MdbShardHeader
impl Sync for MdbShardHeader
impl Unpin for MdbShardHeader
impl UnsafeUnpin for MdbShardHeader
impl UnwindSafe for MdbShardHeader
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