Trait ConfidentialState

Source
pub trait ConfidentialState:
    Debug
    + Hash
    + StrictDumb
    + StrictEncode
    + StrictDecode
    + CommitEncode
    + Eq
    + Copy {
    // Required methods
    fn state_type(&self) -> StateType;
    fn state_commitment(&self) -> StateCommitment;
}
Expand description

Marker trait for types of state which are just a commitment to the actual 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§