action_to_owned

Function action_to_owned 

Source
fn action_to_owned(
    action: Action<'_, PointerReferences>,
) -> Action<'static, PointerReferences>
Available on (crate features trace or replay) and crate feature trace only.
Expand description

For selected Actions (mostly actions containing only owned data), return a copy with 'static lifetime.

This is used for in-memory tracing.

ยงPanics

If action is not supported for in-memory tracing (likely because it contains borrowed data).