Skip to main content

HookClient

Trait HookClient 

Source
pub trait HookClient:
    ClientInfo
    + Send
    + Sync {
    // Required method
    fn send_message<'life0, 'async_trait>(
        &'life0 mut self,
        item: PgWireBackendMessage,
    ) -> Pin<Box<dyn Future<Output = PgWireResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn send_message<'life0, 'async_trait>( &'life0 mut self, item: PgWireBackendMessage, ) -> Pin<Box<dyn Future<Output = PgWireResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§