Struct cyfs_base::ChunkBundle
source · [−]pub struct ChunkBundle { /* private fields */ }
Implementations
sourceimpl 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>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn calc_hash_value(&self) -> HashValue
Trait Implementations
sourceimpl Clone for ChunkBundle
impl Clone for ChunkBundle
sourcefn clone(&self) -> ChunkBundle
fn clone(&self) -> ChunkBundle
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ChunkBundle
impl Debug for ChunkBundle
sourceimpl ObjectFormat for ChunkBundle
impl ObjectFormat for ChunkBundle
fn format_json(&self) -> Value
Auto Trait Implementations
impl RefUnwindSafe for ChunkBundle
impl Send for ChunkBundle
impl Sync for ChunkBundle
impl Unpin for ChunkBundle
impl UnwindSafe for ChunkBundle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more