pub trait TypeTag {
    type Factory;
    fn type_tag(&self) -> i64;
}
Expand description

See the module level documentation in crate::driver about this.

Associated Types

Used to help map borrowing and owning instances to a single type. To avoid discriminating between &Value, Value, and ValueRef in cases where we want to treat them the same.

I don’t really like this solution but I don’t know of a more normal trait to use.

Required methods

Implementations on Foreign Types

Implementors