Skip to main content

CurrentRuntimeCopperList

Trait CurrentRuntimeCopperList 

Source
pub trait CurrentRuntimeCopperList<P>
where P: CopperListTuple,
{ // Required method fn current_runtime_copperlist_bytes(&self) -> Option<&[u8]>; // Provided method fn set_current_runtime_copperlist_bytes( &mut self, snapshot: Option<Vec<u8>>, ) { ... } }
Expand description

Optional introspection hook exposing the latest runtime-generated CopperList snapshot.

This is remote-debug-only: debugger conveniences must not add unconditional runtime-path overhead to normal Copper builds. Non-remote-debug builds should implement this as a cheap None.

Required Methods§

Provided Methods§

Implementors§