Struct cyfs_base::ChunkBundle
source · pub struct ChunkBundle { /* private fields */ }
Implementations§
source§impl ChunkBundle
impl ChunkBundle
pub fn new(list: Vec<ChunkId>, hash_method: ChunkBundleHashMethod) -> Self
pub fn len(&self) -> u64
pub fn hash_method(&self) -> &ChunkBundleHashMethod
pub fn chunk_list(&self) -> &Vec<ChunkId>
pub fn calc_hash_value(&self) -> HashValue
Trait Implementations§
source§impl Clone for ChunkBundle
impl Clone for ChunkBundle
source§fn clone(&self) -> ChunkBundle
fn clone(&self) -> ChunkBundle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more