Struct procspawn::PanicInfo

source ·
pub struct PanicInfo { /* private fields */ }
Expand description

Represents a panic caugh across processes.

This contains the marshalled panic information so that it can be used for other purposes.

This is similar to std::panic::PanicInfo but can cross process boundaries.

Implementations§

Returns the message of the panic.

Returns the panic location.

Returns a reference to the backtrace.

Typically this backtrace is already resolved because it’s currently not possible to cross the process boundaries with unresolved backtraces.

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
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.

Converts the given value to a String. Read more
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.