Struct async_lsp::panic::CatchUnwind
source · pub struct CatchUnwind<S> { /* private fields */ }Trait Implementations§
source§impl<S: LspService> LspService for CatchUnwind<S>
impl<S: LspService> LspService for CatchUnwind<S>
fn notify(&mut self, notif: AnyNotification) -> ControlFlow<Result<()>>
fn emit(&mut self, event: AnyEvent) -> ControlFlow<Result<()>>
source§impl<S: LspService> Service<AnyRequest> for CatchUnwind<S>
impl<S: LspService> Service<AnyRequest> for CatchUnwind<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 CatchUnwind<S>where S: RefUnwindSafe,
impl<S> Send for CatchUnwind<S>where S: Send,
impl<S> Sync for CatchUnwind<S>where S: Sync,
impl<S> Unpin for CatchUnwind<S>where S: Unpin,
impl<S> UnwindSafe for CatchUnwind<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