[−][src]Trait libmedium::sensors::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, RawError>
Converts a raw sensor string into a usable type.
fn to_raw(&self) -> String
Converts self into a writable raw sensor string.