Struct under::DataTransfer
source · Expand description
Information about a data transfer. This is the result of
DataStream::into, and provides information about the state of the
stream after the transfer.
Fields§
§count: u64The number of bytes that were transferred. This may be less than the number of bytes requested if the stream ended.
complete: boolWhether or not the stream ended before or as a result of the transfer,
not including the limit - if the limit was reached, and there was still
pending data, this will be false.
Trait Implementations§
source§impl Clone for DataTransfer
impl Clone for DataTransfer
source§fn clone(&self) -> DataTransfer
fn clone(&self) -> DataTransfer
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 more