pub struct MetadataLimits {Show 13 fields
pub block_size: u32,
pub max_path_length: u32,
pub max_hash_collision_shard_scan: usize,
pub max_shard_count: u32,
pub max_directory_hint_shards: u32,
pub max_files_per_index_shard: u32,
pub max_entries_per_directory_hint_shard: u64,
pub max_payload_data_shards: u16,
pub max_payload_parity_shards: u16,
pub max_index_data_shards: u16,
pub max_index_parity_shards: u16,
pub max_index_root_data_shards: u16,
pub max_index_root_parity_shards: u16,
}Fields§
§block_size: u32§max_path_length: u32§max_hash_collision_shard_scan: usize§max_shard_count: u32§max_directory_hint_shards: u32§max_files_per_index_shard: u32§max_entries_per_directory_hint_shard: u64§max_payload_data_shards: u16§max_payload_parity_shards: u16§max_index_data_shards: u16§max_index_parity_shards: u16§max_index_root_data_shards: u16§max_index_root_parity_shards: u16Trait Implementations§
Source§impl Clone for MetadataLimits
impl Clone for MetadataLimits
Source§fn clone(&self) -> MetadataLimits
fn clone(&self) -> MetadataLimits
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 MetadataLimits
impl Debug for MetadataLimits
Source§impl Default for MetadataLimits
impl Default for MetadataLimits
Source§impl PartialEq for MetadataLimits
impl PartialEq for MetadataLimits
Source§fn eq(&self, other: &MetadataLimits) -> bool
fn eq(&self, other: &MetadataLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MetadataLimits
impl Eq for MetadataLimits
impl StructuralPartialEq for MetadataLimits
Auto Trait Implementations§
impl Freeze for MetadataLimits
impl RefUnwindSafe for MetadataLimits
impl Send for MetadataLimits
impl Sync for MetadataLimits
impl Unpin for MetadataLimits
impl UnsafeUnpin for MetadataLimits
impl UnwindSafe for MetadataLimits
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