Struct async_lsp::panic::CatchUnwindBuilder
source · pub struct CatchUnwindBuilder { /* private fields */ }Implementations§
source§impl CatchUnwindBuilder
impl CatchUnwindBuilder
pub fn new_with_handler( handler: fn(_: &str, _: Box<dyn Any + Send>) -> ResponseError ) -> Self
Trait Implementations§
source§impl Clone for CatchUnwindBuilder
impl Clone for CatchUnwindBuilder
source§fn clone(&self) -> CatchUnwindBuilder
fn clone(&self) -> CatchUnwindBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CatchUnwindBuilder
impl Default for CatchUnwindBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CatchUnwindBuilder
impl Send for CatchUnwindBuilder
impl Sync for CatchUnwindBuilder
impl Unpin for CatchUnwindBuilder
impl UnwindSafe for CatchUnwindBuilder
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