pub struct UploadFileInfo {
pub file_id: String,
pub total_bytes: u64,
pub chunk_count: u64,
pub xorb_count: u64,
pub inserted_chunks: u64,
pub reused_chunks: u64,
}Expand description
Result of uploading one file.
Fields§
§file_id: StringContent-derived file identifier (the file hash in Xet hex); download
this file via crate::session::DownloadSession::download_bytes.
total_bytes: u64Total uncompressed bytes uploaded.
chunk_count: u64Total number of chunks in the file.
xorb_count: u64Number of xorbs this file contributed chunks to.
inserted_chunks: u64Chunks staged for upload (new content).
reused_chunks: u64Chunks resolved from session/global dedup (skipped upload).
Trait Implementations§
Source§impl Clone for UploadFileInfo
impl Clone for UploadFileInfo
Source§impl Debug for UploadFileInfo
impl Debug for UploadFileInfo
impl Eq for UploadFileInfo
Source§impl PartialEq for UploadFileInfo
impl PartialEq for UploadFileInfo
impl StructuralPartialEq for UploadFileInfo
Auto Trait Implementations§
impl Freeze for UploadFileInfo
impl RefUnwindSafe for UploadFileInfo
impl Send for UploadFileInfo
impl Sync for UploadFileInfo
impl Unpin for UploadFileInfo
impl UnsafeUnpin for UploadFileInfo
impl UnwindSafe for UploadFileInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more