fn gpio_file(&self, filename: &str) -> String {
        match filename {
            "value" => {},
            "direction" => {},
            _ => panic!(),
        }
        format!("{}/gpio{}/{}", PATH, self.pin, filename)
    }
/// Get a specific file path as String from the GPIO directory
Get a specific file path as String from the GPIO directory
Get a specific file path as String from the GPIO directory
fn gpio_file(&self, filename: &str) -> String {
        match filename {
            "value" => {},
            "direction" => {},
            _ => panic!(),
        }
        format!("{}/gpio{}/{}", PATH, self.pin, filename)
    }
fn gpio_file ( & self , filename : & str ) -> String { match filename { " " => { } , " " => { } , _ => panic ! ( ) , } format ! ( " " PATH self pin filename ) }
Get a specific file path as String from the GPIO directory
Get a specific file path as String from the GPIO directory
&self
filename
&str
&self
filename
&str