pub trait DownloadTaskSplitRead: Seek {
// Required method
fn poll_split_read(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buffer: &mut [u8],
) -> Poll<Result<Option<(ChunkCache, Range<usize>)>>>;
}
pub trait DownloadTaskSplitRead: Seek {
// Required method
fn poll_split_read(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buffer: &mut [u8],
) -> Poll<Result<Option<(ChunkCache, Range<usize>)>>>;
}