Skip to main content

Serializable

Trait Serializable 

Source
pub trait Serializable {
    // Required method
    fn to_definition(&self) -> RunnableDefinition;
}
Expand description

Trait runnables implement to participate in dump/load. Default is Opaque { name = type name } — override to capture useful structure.

Required Methods§

Source

fn to_definition(&self) -> RunnableDefinition

Emit a definition describing this runnable’s shape.

Implementors§