Struct cyfs_bdt::chunk::RangeDecoder
source · [−]pub struct RangeDecoder(_);Implementations
Trait Implementations
sourceimpl ChunkDecoder for RangeDecoder
impl ChunkDecoder for RangeDecoder
fn chunk(&self) -> &ChunkId
fn chunk_content(&self) -> Option<Arc<Vec<u8>>>
fn state(&self) -> ChunkDecoderState
fn push_piece_data(
&self,
piece: &PieceData
) -> (ChunkDecoderState, ChunkDecoderState)
sourceimpl Clone for RangeDecoder
impl Clone for RangeDecoder
sourcefn clone(&self) -> RangeDecoder
fn clone(&self) -> RangeDecoder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for RangeDecoder
impl Send for RangeDecoder
impl Sync for RangeDecoder
impl Unpin for RangeDecoder
impl UnwindSafe for RangeDecoder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more