[][src]Struct tokio::task::JoinError

pub struct JoinError { /* fields omitted */ }
This is supported on feature="rt-core" only.

Task failed to execute to completion.

Methods

impl JoinError[src]

pub fn cancelled() -> JoinError[src]

This is supported on feature="rt-core" only.

Create a new cancelled error

pub fn panic(err: Box<dyn Any + Send + 'static>) -> JoinError[src]

This is supported on feature="rt-core" only.

Create a new panic error

Trait Implementations

impl From<JoinError> for Error[src]

impl Debug for JoinError[src]

impl Display for JoinError[src]

impl Error for JoinError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]