We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95022d6 commit 8e84c9dCopy full SHA for 8e84c9d
rocketmq-remoting/src/net/channel.rs
@@ -35,12 +35,14 @@ use crate::base::response_future::ResponseFuture;
35
use crate::connection::Connection;
36
use crate::protocol::remoting_command::RemotingCommand;
37
38
+pub type ChannelId = CheetahString;
39
+
40
#[derive(Clone)]
41
pub struct Channel {
42
inner: WeakArcMut<ChannelInner>,
43
local_address: SocketAddr,
44
remote_address: SocketAddr,
- channel_id: CheetahString,
45
+ channel_id: ChannelId,
46
}
47
48
impl Channel {
0 commit comments