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;
}

Required Associated Types§

Required Methods§

source

fn is_map(&self) -> bool

Return true if this is a Map of states.

source

fn is_tuple(&self) -> bool

Return true if this is a Tuple of states.

Implementors§