pub struct Transferring { /* private fields */ }Expand description
One attempt to transfer a stored object. Its worker ends it as its transfer ended; dropping it otherwise, as a cancelled attempt does, ends it as dropped.
Implementations§
Source§impl Transferring
impl Transferring
Sourcepub fn meter(&self) -> TransferMeter
pub fn meter(&self) -> TransferMeter
What tells this attempt’s progress, for whatever moves its bytes.
Sourcepub fn end(self, end: TransferEnd)
pub fn end(self, end: TransferEnd)
End the attempt as end says.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transferring
impl !RefUnwindSafe for Transferring
impl Send for Transferring
impl Sync for Transferring
impl Unpin for Transferring
impl UnsafeUnpin for Transferring
impl !UnwindSafe for Transferring
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