Trait AsyncDataSource
Source pub trait AsyncDataSource<A: Digest>:
DynClone
+ Debug
+ Sync
+ Send {
// Required methods
fn slice(
&self,
size: PartSize,
) -> BoxFuture<'_, IoResult<Option<AsyncDataSourceReader>>>;
fn reset(&self) -> BoxFuture<'_, IoResult<()>>;
fn source_key(&self) -> BoxFuture<'_, IoResult<Option<SourceKey<A>>>>;
fn total_size(&self) -> BoxFuture<'_, IoResult<Option<u64>>>;
}
Expand description
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.
Available on crate feature async
only.