Struct cyfs_bdt::ndn::chunk::StreamDecoder
source · pub struct StreamDecoder(_);Implementations§
source§impl StreamDecoder
impl StreamDecoder
pub fn new( chunk: &ChunkId, desc: &ChunkCodecDesc, cache: ChunkStreamCache ) -> Self
Trait Implementations§
source§impl ChunkDecoder for StreamDecoder
impl ChunkDecoder for StreamDecoder
fn clone_as_decoder(&self) -> Box<dyn ChunkDecoder>
fn chunk(&self) -> &ChunkId
fn desc(&self) -> &ChunkCodecDesc
fn require_index(&self) -> Option<(Option<u32>, Option<Vec<Range<u32>>>)>
fn push_piece_data(&self, piece: &PieceData) -> BuckyResult<PushIndexResult>
source§impl Clone for StreamDecoder
impl Clone for StreamDecoder
source§fn clone(&self) -> StreamDecoder
fn clone(&self) -> StreamDecoder
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