pub trait Value: Sized {
// Required methods
fn to_raw_value(&self) -> Result<Raw, Error>;
fn from_raw_value(r: Raw) -> Result<Self, Error>;
}
Expand description
A trait used to convert between types and Raw
Required Methods§
sourcefn from_raw_value(r: Raw) -> Result<Self, Error>
fn from_raw_value(r: Raw) -> Result<Self, Error>
Convert from Raw