[−][src]Trait libmedium::units::Raw
Trait that needs to be implemented by all types that raw sensor strings should be converted into.
Required methods
fn from_raw(raw: &str) -> Result<Self, Error>
Converts a raw sensor string into a usable type.
fn to_raw(&self) -> Cow<str>
Converts self into a writable raw sensor string.