Function class

Source
pub fn class<T: NetlinkConnection>(name: &str) -> Result<Vec<Tc>, TcError>
Expand description

class returns a list of all classes for a given interface name. It retrieves the list of links and then calls class_for_index for the link with the matching name.