Struct async_lsp::client_monitor::ClientProcessMonitor
source · pub struct ClientProcessMonitor<S> { /* private fields */ }
Available on crate feature
client-monitor
only.Expand description
The middleware stopping the main loop when the Language Client process aborted unexpectedly.
See module level documentations for details.
Trait Implementations§
source§impl<S: LspService> LspService for ClientProcessMonitor<S>
impl<S: LspService> LspService for ClientProcessMonitor<S>
source§fn notify(&mut self, notif: AnyNotification) -> ControlFlow<Result<()>>
fn notify(&mut self, notif: AnyNotification) -> ControlFlow<Result<()>>
The handler of LSP notifications. Read more
source§impl<S: LspService> Service<AnyRequest> for ClientProcessMonitor<S>
impl<S: LspService> Service<AnyRequest> for ClientProcessMonitor<S>
§type Response = <S as Service<AnyRequest>>::Response
type Response = <S as Service<AnyRequest>>::Response
Responses given by the service.
§type Error = <S as Service<AnyRequest>>::Error
type Error = <S as Service<AnyRequest>>::Error
Errors produced by the service.
§type Future = <S as Service<AnyRequest>>::Future
type Future = <S as Service<AnyRequest>>::Future
The future response value.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for ClientProcessMonitor<S>
impl<S> Send for ClientProcessMonitor<S>where S: Send,
impl<S> Sync for ClientProcessMonitor<S>where S: Sync,
impl<S> Unpin for ClientProcessMonitor<S>where S: Unpin,
impl<S> !UnwindSafe for ClientProcessMonitor<S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more