KnownState

Trait KnownState 

Source
pub trait KnownState:
    Debug
    + StrictDumb
    + StrictEncode
    + StrictDecode
    + Eq
    + Clone
    + Hash {
    const IS_FUNGIBLE: bool;
}
Expand description

Trait used by contract state. Unlike rgb::ExposedState it doesn’t allow concealment of the state, i.e. may contain incomplete data without blinding factors, asset tags etc.

Required Associated Constants§

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.

Implementations on Foreign Types§

Source§

impl KnownState for ()

Source§

const IS_FUNGIBLE: bool = false

Implementors§