[−][src]Function os_balloon::config::deserialize_pin
fn deserialize_pin<'de, D>(deserializer: D) -> Result<Pin, D::Error> where
D: Deserializer<'de>,
Deserializes a Raspberry Pi pin number into a Pin
structure.
Note: it will make sure it deserializes a Pin between 2 and 28 (pin numbers for Raspberry Pi).