PushResponse

Trait PushResponse 

Source
pub trait PushResponse {
    type Error;

    // Required methods
    fn status(&self) -> u16;
    fn bytes<'async_trait>(
        self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn status(&self) -> u16

Source

fn bytes<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§