pub struct Transfer { /* private fields */ }Expand description
A transfer in progress, held apart from its updater between pieces.
A Staging borrows its updater, which suits code that takes an image in one
loop. Code that takes each piece in a call of its own, such as a binding or an
event loop, detaches it between pieces and hands it to
Updater::resume_from for the next, which carries the hash of what has
arrived instead of reading it back from the slot.
Implementations§
Auto Trait Implementations§
impl Freeze for Transfer
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnsafeUnpin for Transfer
impl UnwindSafe for Transfer
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