Struct cyfs_bdt::utils::LocalChunkListWriter
source · pub struct LocalChunkListWriter(_);Implementations§
source§impl LocalChunkListWriter
impl LocalChunkListWriter
pub fn from_file(path: PathBuf, file: &File) -> BuckyResult<Self>
pub fn new(path: PathBuf, desc: &ChunkListDesc) -> Self
pub async fn write<R: Read + Unpin>(&self, reader: R) -> BuckyResult<()>
Trait Implementations§
source§impl Clone for LocalChunkListWriter
impl Clone for LocalChunkListWriter
source§fn clone(&self) -> LocalChunkListWriter
fn clone(&self) -> LocalChunkListWriter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more