pub struct Panicked<Msg = ()>(pub Msg)
where
Msg: Send + 'static;
Expand description
Created by the panic detector when a panic occurs.
Its first and only field is the additional information emitted when the corresponding task panics.
The field defaults to ()
.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.