pub struct PullProgressHandle { /* private fields */ }Expand description
Receiver for progress events.
Implementations§
Source§impl PullProgressHandle
impl PullProgressHandle
Sourcepub async fn recv(&mut self) -> Option<PullProgress>
pub async fn recv(&mut self) -> Option<PullProgress>
Receive the next event. Returns None when the pull completes.
Sourcepub fn into_receiver(self) -> Receiver<PullProgress>
pub fn into_receiver(self) -> Receiver<PullProgress>
Convert into the underlying receiver for use with tokio::select!.
Auto Trait Implementations§
impl Freeze for PullProgressHandle
impl RefUnwindSafe for PullProgressHandle
impl Send for PullProgressHandle
impl Sync for PullProgressHandle
impl Unpin for PullProgressHandle
impl UnsafeUnpin for PullProgressHandle
impl UnwindSafe for PullProgressHandle
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