Trait rgb::contract::ExposedState
source · 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
Object Safety§
This trait is not object safe.