[][src]Struct wascc_codec::blobstore::Transfer

pub struct Transfer {
    pub blob_id: String,
    pub container: String,
    pub chunk_size: u64,
    pub total_size: u64,
    pub total_chunks: u64,
    pub context: Option<String>,
}

Metadata about an in-progress file transfer

Fields

blob_id: String

Unique ID of the blob

container: String

ID of the container

chunk_size: u64

Size of chunks being transferred

total_size: u64

Total number of bytes being transferred

total_chunks: u64

Total number of chunks being transferred

context: Option<String>

The context supplied by the original transfer request

Trait Implementations

impl Debug for Transfer[src]

impl<'de> Deserialize<'de> for Transfer[src]

impl PartialEq<Transfer> for Transfer[src]

impl Serialize for Transfer[src]

impl StructuralPartialEq for Transfer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.