Encoder

Trait Encoder 

Source
pub trait Encoder {
    // Required method
    fn encode<'life0, 'async_trait>(
        &'life0 self,
        samples: Samples,
    ) -> Pin<Box<dyn Future<Output = Result<EncodedStream>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn encode<'life0, 'async_trait>( &'life0 self, samples: Samples, ) -> Pin<Box<dyn Future<Output = Result<EncodedStream>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§