pub fn path(&self) -> &str {
        use UART::*;
        match self {
            PL011 => "/dev/ttyAMA0",
            Custom(ref path) => path.as_ref(),
        }
    }
/// Path to the UART the variant refers to.
Path to the UART the variant refers to.
Path to the UART the variant refers to .
pub fn path(&self) -> &str {
        use UART::*;
        match self {
            PL011 => "/dev/ttyAMA0",
            Custom(ref path) => path.as_ref(),
        }
    }
pub fn path ( & self ) -> & str { use UART :: * ; match self { PL011 => " " , Custom ( ref path ) => path . as_ref ( ) , } }
Path to the UART the variant refers to.
Path to the UART the variant refers to .
&self
&self