pub struct ShardEntry {
pub shard_index: u64,
pub first_block_index: u64,
pub data_block_count: u32,
pub parity_block_count: u32,
pub encrypted_size: u32,
pub decompressed_size: u32,
pub file_count: u32,
pub first_path_hash: [u8; 8],
pub last_path_hash: [u8; 8],
}Fields§
§shard_index: u64§first_block_index: u64§data_block_count: u32§parity_block_count: u32§encrypted_size: u32§decompressed_size: u32§file_count: u32§first_path_hash: [u8; 8]§last_path_hash: [u8; 8]Implementations§
Trait Implementations§
Source§impl Clone for ShardEntry
impl Clone for ShardEntry
Source§fn clone(&self) -> ShardEntry
fn clone(&self) -> ShardEntry
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 ShardEntry
impl Debug for ShardEntry
Source§impl PartialEq for ShardEntry
impl PartialEq for ShardEntry
Source§fn eq(&self, other: &ShardEntry) -> bool
fn eq(&self, other: &ShardEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ShardEntry
impl StructuralPartialEq for ShardEntry
Auto Trait Implementations§
impl Freeze for ShardEntry
impl RefUnwindSafe for ShardEntry
impl Send for ShardEntry
impl Sync for ShardEntry
impl Unpin for ShardEntry
impl UnsafeUnpin for ShardEntry
impl UnwindSafe for ShardEntry
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