pub struct ChunkedStream {
pub total_size: u64,
pub transferred: u64,
pub current_offset: u64,
pub chunk_size: usize,
}Fields§
§total_size: u64§transferred: u64§current_offset: u64§chunk_size: usizeImplementations§
Trait Implementations§
Source§impl Clone for ChunkedStream
impl Clone for ChunkedStream
Source§fn clone(&self) -> ChunkedStream
fn clone(&self) -> ChunkedStream
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ChunkedStream
impl RefUnwindSafe for ChunkedStream
impl Send for ChunkedStream
impl Sync for ChunkedStream
impl Unpin for ChunkedStream
impl UnsafeUnpin for ChunkedStream
impl UnwindSafe for ChunkedStream
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