pub struct DownloadProgress { /* private fields */ }
Implementations§
Source§impl DownloadProgress
impl DownloadProgress
pub async fn stream( self, ) -> Result<impl Stream<Item = DownloadProgessItem> + Unpin>
Trait Implementations§
Source§impl IntoFuture for DownloadProgress
impl IntoFuture for DownloadProgress
Source§type IntoFuture = Pin<Box<dyn Future<Output = <DownloadProgress as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <DownloadProgress as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl Freeze for DownloadProgress
impl !RefUnwindSafe for DownloadProgress
impl Send for DownloadProgress
impl !Sync for DownloadProgress
impl Unpin for DownloadProgress
impl !UnwindSafe for DownloadProgress
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