Trait ExposedState

Source
pub trait ExposedState:
    Debug
    + StrictDumb
    + StrictEncode
    + StrictDecode
    + Eq
    + Ord
    + Clone {
    // Required methods
    fn state_type(&self) -> StateType;
    fn state_data(&self) -> RevealedState;
}
Expand description

Marker trait for types of state holding explicit state data.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§