Struct bitar::VerifiedChunk
source · pub struct VerifiedChunk { /* private fields */ }
Expand description
A chunk with verified hash sum.
Implementations§
source§impl VerifiedChunk
impl VerifiedChunk
sourcepub fn into_parts(self) -> (HashSum, Chunk)
pub fn into_parts(self) -> (HashSum, Chunk)
Split into hash and chunk.
Trait Implementations§
source§impl Clone for VerifiedChunk
impl Clone for VerifiedChunk
source§fn clone(&self) -> VerifiedChunk
fn clone(&self) -> VerifiedChunk
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 moreAuto Trait Implementations§
impl !Freeze for VerifiedChunk
impl RefUnwindSafe for VerifiedChunk
impl Send for VerifiedChunk
impl Sync for VerifiedChunk
impl Unpin for VerifiedChunk
impl UnwindSafe for VerifiedChunk
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