Cannot Find ProtocolName in Libp2p For Custom Protocol Support #6059
Answered
by
elenaf9
sileneundula
asked this question in
Q&A
-
Issueimpl ProtocolName for MarkdownProtocol {
fn protocol_name(&self) -> &[u8] {
b"/markdown/1.0.0"
}
} I cannot find the custom protocol naming convention in Libp2p 0.55.0 It shows up as an error |
Beta Was this translation helpful? Give feedback.
Answered by
elenaf9
Jun 13, 2025
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sileneundula
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ProtocolName
has been removed in favor of usingAsRef<str>
, see #3746.