SubmitProcess

Trait SubmitProcess 

Source
pub trait SubmitProcess {
    // Required methods
    fn is_closed(&self) -> bool;
    fn submit_cells<'life0, 'async_trait>(
        &'life0 mut self,
        cells: Vec<Submit>,
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn submit_headers<'life0, 'async_trait>(
        &'life0 mut self,
        headers: Vec<HeaderViewWithExtension>,
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn is_closed(&self) -> bool

Source

fn submit_cells<'life0, 'async_trait>( &'life0 mut self, cells: Vec<Submit>, ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn submit_headers<'life0, 'async_trait>( &'life0 mut self, headers: Vec<HeaderViewWithExtension>, ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§