Skip to main content

ResumeUnwind

Trait ResumeUnwind 

pub trait ResumeUnwind {
    type Output;

    // Required method
    fn resume_unwind(self) -> Self::Output;
}
Available on crate feature runtime only.
Expand description

Trait to resume unwind from a [JoinError].

Required Associated Types§

type Output

The output type.

Required Methods§

fn resume_unwind(self) -> Self::Output

Resume the panic if the task panicked.

Implementations on Foreign Types§

§

impl<T> ResumeUnwind for Result<T, JoinError>

§

type Output = Option<T>

§

fn resume_unwind(self) -> <Result<T, JoinError> as ResumeUnwind>::Output

Implementors§