pub struct PanicPayload {
pub module: String,
pub qualname: String,
pub repr: String,
}Expand description
Structured panic payload carried via std::panic::panic_any so that
language-binding actors (Python, etc.) can attach typed failure
metadata that the decider can inspect by class name. The
actor_cell panic-catch path renders this as
"<module>.<qualname>: <repr>" for the legacy Decider: Fn(&str)
surface; deciders wishing to match by class can split on the first
": " boundary.
Fields§
§module: String§qualname: String§repr: StringImplementations§
Trait Implementations§
Source§impl Clone for PanicPayload
impl Clone for PanicPayload
Source§fn clone(&self) -> PanicPayload
fn clone(&self) -> PanicPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PanicPayload
impl RefUnwindSafe for PanicPayload
impl Send for PanicPayload
impl Sync for PanicPayload
impl Unpin for PanicPayload
impl UnsafeUnpin for PanicPayload
impl UnwindSafe for PanicPayload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more