Struct async_lsp::concurrency::Concurrency
source · pub struct Concurrency<S> { /* private fields */ }
Trait Implementations§
source§impl<S: LspService> LspService for Concurrency<S>
impl<S: LspService> LspService for Concurrency<S>
fn notify(&mut self, notif: AnyNotification) -> ControlFlow<Result<()>>
fn emit(&mut self, event: AnyEvent) -> ControlFlow<Result<()>>
source§impl<S: LspService> Service<AnyRequest> for Concurrency<S>
impl<S: LspService> Service<AnyRequest> for Concurrency<S>
§type Error = ResponseError
type Error = ResponseError
Errors produced by the service.
§type Future = ResponseFuture<<S as Service<AnyRequest>>::Future>
type Future = ResponseFuture<<S as Service<AnyRequest>>::Future>
The future response value.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for Concurrency<S>
impl<S> Send for Concurrency<S>where S: Send,
impl<S> Sync for Concurrency<S>where S: Sync,
impl<S> Unpin for Concurrency<S>where S: Unpin,
impl<S> !UnwindSafe for Concurrency<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