[][src]Trait lsp_async_stub::impls::ResponseWriter

pub trait ResponseWriter: Sized {
#[must_use]    pub fn write_response<'life0, 'async_trait, R: Serialize + Send + Sync>(
        self,
        response: &'life0 Response<R>
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        R: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]pub fn write_response<'life0, 'async_trait, R: Serialize + Send + Sync>(
    self,
    response: &'life0 Response<R>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
    R: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...