pub struct ParallelDownloader<S>where
S: StreamingSource,{ /* private fields */ }Implementations§
Source§impl<S> ParallelDownloader<S>
impl<S> ParallelDownloader<S>
pub fn new(source: S, concurrency: NonZeroU32, retries: u32) -> Self
pub async fn download(&mut self) -> IoriResult<()>
Auto Trait Implementations§
impl<S> Freeze for ParallelDownloader<S>
impl<S> RefUnwindSafe for ParallelDownloader<S>where
S: RefUnwindSafe,
impl<S> Send for ParallelDownloader<S>
impl<S> Sync for ParallelDownloader<S>
impl<S> Unpin for ParallelDownloader<S>
impl<S> UnwindSafe for ParallelDownloader<S>where
S: RefUnwindSafe,
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