在socketiride rust Socket IO中通过socket id查找socket ref

问题描述 投票:0回答:1

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 中查找别名函数

rust socket.io
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.