pub trait ChunkEncoder {
    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
; fn piece_of(&self, index: u32, buf: &mut [u8]) -> BuckyResult<usize>; }

Required Methods

Implementors