Rust 中是否有像 java 实现的 getClient 这样的方法?
/**
* Get client by uuid from default namespace
*
* @param uuid - id of client
* @return client
*/
public SocketIOClient getClient(UUID uuid) {
return namespacesHub.get(Namespace.DEFAULT_NAME).getClient(uuid);
}
在 rust 中查找别名函数