parse_protocol
node
0.16.0
In node::
p2p::
network::
identify
node
::
p2p
::
network
::
identify
Function
parse_
protocol
Copy item path
pub fn parse_protocol( name: &
str
, ) ->
Result
<
StreamKind
,
P2pNetworkIdentifyFromMessageError
>