pub struct UploadDone {
pub key: PackKey,
pub total: u64,
}Expand description
A completely framed upload.
Fields§
§key: PackKeyThe pack id the header declared.
total: u64Bytes received, equal to the declared total_bytes.
Trait Implementations§
Source§impl Clone for UploadDone
impl Clone for UploadDone
impl Copy for UploadDone
Source§impl Debug for UploadDone
impl Debug for UploadDone
impl Eq for UploadDone
Source§impl PartialEq for UploadDone
impl PartialEq for UploadDone
impl StructuralPartialEq for UploadDone
Auto Trait Implementations§
impl Freeze for UploadDone
impl RefUnwindSafe for UploadDone
impl Send for UploadDone
impl Sync for UploadDone
impl Unpin for UploadDone
impl UnsafeUnpin for UploadDone
impl UnwindSafe for UploadDone
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