Trait tc_transact::public::StateInstance
source · pub trait StateInstance: Default + Instance + Route<Self> + ToState<Self> + From<bool> + From<Number> + From<Value> + From<Map<Self>> + From<Tuple<Self>> + From<Self::Class> + From<Self::Closure> + Clone + Debug + 'static {
type FE: ThreadSafe + Clone;
type Txn: Transaction<Self::FE> + RPCClient<Self>;
type Closure: ClosureInstance<Self>;
// Required methods
fn is_map(&self) -> bool;
fn is_tuple(&self) -> bool;
}