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>
Auto Trait Implementations§
impl<S> Freeze for ClientProcessMonitor<S>where
S: Freeze,
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