pub struct Lifecycle<S> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<S: LspService> LspService for Lifecycle<S>
impl<S: LspService> LspService for Lifecycle<S>
fn notify(&mut self, notif: AnyNotification) -> ControlFlow<Result<()>>
fn emit(&mut self, event: AnyEvent) -> ControlFlow<Result<()>>
source§impl<S: LspService> Service<AnyRequest> for Lifecycle<S>
impl<S: LspService> Service<AnyRequest> for Lifecycle<S>
§type Error = ResponseError
type Error = ResponseError
Errors produced by the service.
§type Future = Either<<S as Service<AnyRequest>>::Future, Ready<<<S as Service<AnyRequest>>::Future as Future>::Output>>
type Future = Either<<S as Service<AnyRequest>>::Future, Ready<<<S as Service<AnyRequest>>::Future as Future>::Output>>
The future response value.