Struct cyfs_bdt::chunk::RaptorDecoder
source · [−]pub struct RaptorDecoder(_);Implementations
Trait Implementations
sourceimpl ChunkDecoder for RaptorDecoder
impl ChunkDecoder for RaptorDecoder
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 RaptorDecoder
impl Clone for RaptorDecoder
sourcefn clone(&self) -> RaptorDecoder
fn clone(&self) -> RaptorDecoder
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 RaptorDecoder
impl Send for RaptorDecoder
impl Sync for RaptorDecoder
impl Unpin for RaptorDecoder
impl UnwindSafe for RaptorDecoder
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