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> + Gateway<Self>;
type Closure: ClosureInstance<Self>;
// Required methods
fn is_map(&self) -> bool;
fn is_tuple(&self) -> bool;
}
Required Associated Types§
type FE: ThreadSafe + Clone
type Txn: Transaction<Self::FE> + Gateway<Self>
type Closure: ClosureInstance<Self>
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.