pub struct Lifecycle<S> { /* private fields */ }
Expand description
The middleware handling Language Server lifecycle.
See module level documentations for details.
Implementations§
Trait Implementations§
Source§impl<S: LspService> LspService for Lifecycle<S>
impl<S: LspService> LspService for Lifecycle<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 Lifecycle<S>
impl<S: LspService> Service<AnyRequest> for Lifecycle<S>
Auto Trait Implementations§
impl<S> Freeze for Lifecycle<S>where
S: Freeze,
impl<S> RefUnwindSafe for Lifecycle<S>where
S: RefUnwindSafe,
impl<S> Send for Lifecycle<S>where
S: Send,
impl<S> Sync for Lifecycle<S>where
S: Sync,
impl<S> Unpin for Lifecycle<S>where
S: Unpin,
impl<S> UnwindSafe for Lifecycle<S>where
S: UnwindSafe,
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