[−][src]Trait lsp_async_stub::impls::RequestWriter
Required methods
#[must_use]pub fn write_request<'life0, 'async_trait, R: Request<Params = P>, P: Serialize + DeserializeOwned + Send + Sync>(
&'life0 mut self,
params: Option<R::Params>
) -> Pin<Box<dyn Future<Output = Result<Response<R::Result>, Error>> + Send + 'async_trait>> where
R: 'async_trait,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
params: Option<R::Params>
) -> Pin<Box<dyn Future<Output = Result<Response<R::Result>, Error>> + Send + 'async_trait>> where
R: 'async_trait,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn write_notification<'life0, 'async_trait, N: Notification<Params = P>, P: Serialize + DeserializeOwned + Send + Sync>(
&'life0 mut self,
params: Option<N::Params>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
N: 'async_trait,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
params: Option<N::Params>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
N: 'async_trait,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn cancel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl<W: Clone + Send + Sync> RequestWriter for Context<W>
[src]
pub fn write_request<'life0, 'async_trait, R: Request<Params = P>, P: Serialize + DeserializeOwned + Send + Sync>(
&'life0 mut self,
params: Option<R::Params>
) -> Pin<Box<dyn Future<Output = Result<Response<R::Result>, Error>> + Send + 'async_trait>> where
R: 'async_trait,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
params: Option<R::Params>
) -> Pin<Box<dyn Future<Output = Result<Response<R::Result>, Error>> + Send + 'async_trait>> where
R: 'async_trait,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
pub fn write_notification<'life0, 'async_trait, N: Notification<Params = P>, P: Serialize + DeserializeOwned + Send + Sync>(
&'life0 mut self,
params: Option<N::Params>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
N: 'async_trait,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
params: Option<N::Params>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
N: 'async_trait,
P: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
pub fn cancel<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,