Skip to main content

RuntimeState

Trait RuntimeState 

Source
pub trait RuntimeState {
    // Required method
    fn name(&self) -> &StateName;
}
Expand description

Minimal runtime state contract.

Required Methods§

Source

fn name(&self) -> &StateName

Returns the stable state name.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§