Struct lsp_async_stub::ServerBuilder [−][src]
Implementations
pub fn on_notification<N, F>(
self,
handler: fn(_: Context<W>, _: Params<N::Params>) -> F
) -> Self where
N: Notification + 'static,
N::Params: Send,
F: Future<Output = ()> + Send + 'static,
Auto Trait Implementations
impl<W> !RefUnwindSafe for ServerBuilder<W>
impl<W> Send for ServerBuilder<W>
impl<W> !Sync for ServerBuilder<W>
impl<W> Unpin for ServerBuilder<W>
impl<W> !UnwindSafe for ServerBuilder<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