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