pub struct ChunkingSpec {
pub measure: ChunkMeasure,
pub input: BoundaryInput,
pub hash: HashAlgorithm,
pub rule: BoundaryRule,
pub min: u64,
pub target: u64,
pub max: u64,
pub hash_seed: u64,
pub level_salt: bool,
pub hard_max_node_bytes: u64,
}Expand description
Persisted content-defined chunking configuration.
Fields§
§measure: ChunkMeasure§input: BoundaryInput§hash: HashAlgorithm§rule: BoundaryRule§min: u64§target: u64§max: u64§hash_seed: u64§level_salt: bool§hard_max_node_bytes: u64Implementations§
Trait Implementations§
Source§impl Clone for ChunkingSpec
impl Clone for ChunkingSpec
Source§fn clone(&self) -> ChunkingSpec
fn clone(&self) -> ChunkingSpec
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 ChunkingSpec
impl Debug for ChunkingSpec
Source§impl Default for ChunkingSpec
impl Default for ChunkingSpec
Source§impl<'de> Deserialize<'de> for ChunkingSpec
impl<'de> Deserialize<'de> for ChunkingSpec
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
impl Eq for ChunkingSpec
Source§impl PartialEq for ChunkingSpec
impl PartialEq for ChunkingSpec
Source§impl Serialize for ChunkingSpec
impl Serialize for ChunkingSpec
impl StructuralPartialEq for ChunkingSpec
Auto Trait Implementations§
impl Freeze for ChunkingSpec
impl RefUnwindSafe for ChunkingSpec
impl Send for ChunkingSpec
impl Sync for ChunkingSpec
impl Unpin for ChunkingSpec
impl UnsafeUnpin for ChunkingSpec
impl UnwindSafe for ChunkingSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more