Struct lsp_async_stub::Context [−][src]
Implementations
pub fn cancel_token(&mut self) -> &mut CancelTokenⓘNotable traits for CancelTokenimpl Future for CancelToken type Output = ();
Notable traits for CancelToken
impl Future for CancelToken type Output = ();
Trait Implementations
fn write_request<'life0, 'async_trait, R: Request<Params = P>, P: Serialize + DeserializeOwned + Send + Sync + Debug>(
&'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,
fn write_notification<'life0, 'async_trait, N: Notification<Params = P>, P: Serialize + DeserializeOwned + Send + Sync + Debug>(
&'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,
Auto Trait Implementations
impl<W> !RefUnwindSafe for Context<W>
impl<W> !UnwindSafe for Context<W>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more