pub trait TableBackend: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn new_table(
&self,
cx: &mut Cx,
entries: Vec<(Symbol, Value)>,
) -> Result<Value>;
}Expand description
Factory protocol for constructing tables in a particular representation.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".