[−][src]Trait nvim_rs::rpc::handler::Handler
Associated Types
type Writer: AsyncWrite + Send + Unpin + 'static
Provided methods
fn handle_request<'life0, 'async_trait>(
&'life0 self,
_name: String,
_args: Vec<Value>,
_req: Requester<Self::Writer>
) -> Pin<Box<dyn Future<Output = Result<Value, Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
_name: String,
_args: Vec<Value>,
_req: Requester<Self::Writer>
) -> Pin<Box<dyn Future<Output = Result<Value, Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn handle_notify<'life0, 'async_trait>(
&'life0 self,
_name: String,
_args: Vec<Value>,
_req: Requester<Self::Writer>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
_name: String,
_args: Vec<Value>,
_req: Requester<Self::Writer>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl<Q> Handler for DefaultHandler<Q> where
Q: AsyncWrite + Send + Sync + Unpin + 'static,
[src]
Q: AsyncWrite + Send + Sync + Unpin + 'static,