pub trait Raw: Sized {
// Required methods
fn from_raw(raw: &str) -> Result<Self, Error>;
fn to_raw(&self) -> Cow<'_, str>;
}
Expand description
Trait that needs to be implemented by all types that raw sensor strings should be converted into.
Required Methods§
Object Safety§
This trait is not object safe.