Struct tokio_unix_ipc::panic::PanicInfo[][src]

pub struct PanicInfo { /* fields omitted */ }
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

Creates a panic info from a standard library one.

It will attempt to extract all information available from it and if capture_backtrace is set to true it will also capture a backtrace at the current location and assign it to the panic info object.

For the backtrace parameter to have an effect the backtrace feature needs to be enabled.

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

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

Performs the conversion.

Performs the conversion.

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.