pub struct PrivateChunk {
pub id: [u8; 32],
pub index: u32,
pub count: u32,
pub total: u64,
pub digest: [u8; 32],
pub content_type: ContentType,
pub bytes: Zeroizing<Vec<u8>>,
/* private fields */
}Fields§
§id: [u8; 32]§index: u32§count: u32§total: u64§digest: [u8; 32]§content_type: ContentType§bytes: Zeroizing<Vec<u8>>Auto Trait Implementations§
impl Freeze for PrivateChunk
impl RefUnwindSafe for PrivateChunk
impl Send for PrivateChunk
impl Sync for PrivateChunk
impl Unpin for PrivateChunk
impl UnsafeUnpin for PrivateChunk
impl UnwindSafe for PrivateChunk
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