pub trait ExposedState:
Debug
+ StrictDumb
+ StrictEncode
+ StrictDecode
+ Conceal<Concealed = Self::Confidential>
+ CommitEncode
+ Eq
+ Ord
+ Clone {
type Confidential: ConfidentialState;
// Required methods
fn state_type(&self) -> StateType;
fn state_data(&self) -> StateData;
}
Expand description
Marker trait for types of state holding explicit state data.
Required Associated Types§
Required Methods§
fn state_type(&self) -> StateType
fn state_data(&self) -> StateData
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.