pub struct ChunkerParams {
pub min: u32,
pub avg: u32,
pub max: u32,
}Expand description
FastCDC parameters, recorded per object (one-way-door rule, D6): a blob is always rechunkable for verification because its manifest says exactly how it was cut.
Fields§
§min: u32Minimum chunk size in bytes.
avg: u32Target average chunk size in bytes.
max: u32Maximum chunk size in bytes.
Trait Implementations§
Source§impl Clone for ChunkerParams
impl Clone for ChunkerParams
Source§fn clone(&self) -> ChunkerParams
fn clone(&self) -> ChunkerParams
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 ChunkerParams
impl Debug for ChunkerParams
Source§impl Default for ChunkerParams
impl Default for ChunkerParams
Source§impl<'de> Deserialize<'de> for ChunkerParams
impl<'de> Deserialize<'de> for ChunkerParams
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 PartialEq for ChunkerParams
impl PartialEq for ChunkerParams
Source§fn eq(&self, other: &ChunkerParams) -> bool
fn eq(&self, other: &ChunkerParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChunkerParams
impl Serialize for ChunkerParams
impl Copy for ChunkerParams
impl Eq for ChunkerParams
impl StructuralPartialEq for ChunkerParams
Auto Trait Implementations§
impl Freeze for ChunkerParams
impl RefUnwindSafe for ChunkerParams
impl Send for ChunkerParams
impl Sync for ChunkerParams
impl Unpin for ChunkerParams
impl UnsafeUnpin for ChunkerParams
impl UnwindSafe for ChunkerParams
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