pub fn class_port<S>(cls: *mut ConfClass, portname: S) -> Result<*mut ConfClass>where S: AsRef<str>,
Get a port for a class