Trait vmcore::save_restore::SavedStateRoot

source ·
pub trait SavedStateRoot: DescribedProtobuf { }
Expand description

Trait implemented by “root” saved state blobs, which are ones that either form the root of a saved state tree, or at points in the tree where the type is not known at compile time.

Do not implement this trait manually. Derive it with #[derive(SavedStateRoot)]. This emits extra code to ensure that the saved state type metadata is included in the binary.

Object Safety§

This trait is not object safe.

Implementors§