pub trait ValueScalar: ValueDomain {
// Required methods
fn into_scalar(
label: &'static str,
value: Self::Value<'_>,
) -> QueryResult<GraphRecordValue>;
fn from_scalar<'a>(
role: &Self::Value<'_>,
value: GraphRecordValue,
) -> Self::Value<'a>;
}Required Methods§
fn into_scalar( label: &'static str, value: Self::Value<'_>, ) -> QueryResult<GraphRecordValue>
fn from_scalar<'a>( role: &Self::Value<'_>, value: GraphRecordValue, ) -> Self::Value<'a>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".