Struct cyfs_bdt::chunk::RaptorEncoder
source · [−]pub struct RaptorEncoder(_);Implementations
sourceimpl RaptorEncoder
impl RaptorEncoder
pub fn from_reader(reader: Arc<Box<dyn ChunkReader>>, chunk: &ChunkId) -> Self
pub fn k(&self) -> u16
Trait Implementations
sourceimpl ChunkEncoder for RaptorEncoder
impl ChunkEncoder for RaptorEncoder
fn chunk(&self) -> &ChunkId
fn state(&self) -> ChunkEncoderState
fn wait_ready<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ChunkEncoderState> + Send + 'async_trait>>ⓘNotable traits for Pin<P>impl<P> Future for Pin<P> where
P: DerefMut,
<P as Deref>::Target: Future, type Output = <<P as Deref>::Target as Future>::Output; where
'life0: 'async_trait,
Self: 'async_trait,
P: DerefMut,
<P as Deref>::Target: Future, type Output = <<P as Deref>::Target as Future>::Output;
fn piece_of(&self, index: u32, buf: &mut [u8]) -> BuckyResult<usize>
sourceimpl Clone for RaptorEncoder
impl Clone for RaptorEncoder
sourcefn clone(&self) -> RaptorEncoder
fn clone(&self) -> RaptorEncoder
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 RaptorEncoder
impl Send for RaptorEncoder
impl Sync for RaptorEncoder
impl Unpin for RaptorEncoder
impl UnwindSafe for RaptorEncoder
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