pub fn minor_name_prefix(&self) -> &str {
        match self {
            NodeType::Primary => PRIMARY_NAME,
            NodeType::Control => CONTROL_NAME,
            NodeType::Render => RENDER_NAME,
        }
    }
/// Returns a string representing the prefix of a minor device's name.
///
/// For example, on Linux with a primary node, the returned string would be `card`.
Returns a string representing the prefix of a minor device's name.
For example, on Linux with a primary node, the returned string would be `card`.
Returns a string representing the prefix of a minor device ' s name . For example on Linux with a primary node the returned string would be ` card ` .
pub fn minor_name_prefix(&self) -> &str {
        match self {
            NodeType::Primary => PRIMARY_NAME,
            NodeType::Control => CONTROL_NAME,
            NodeType::Render => RENDER_NAME,
        }
    }
pub fn minor_name_prefix ( & self ) -> & str { match self { NodeType :: Primary => PRIMARY_NAME , NodeType :: Control => CONTROL_NAME , NodeType :: Render => RENDER_NAME , } }
Returns a string representing the prefix of a minor device's name.
Returns a string representing the prefix of a minor device ' s name .
&self
&self