File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1538,9 +1538,7 @@ impl Config {
15381538#[ derive( Debug ) ]
15391539pub enum DialError {
15401540 /// The peer identity obtained on the connection matches the local peer.
1541- LocalPeerId {
1542- endpoint : ConnectedPoint ,
1543- } ,
1541+ LocalPeerId { endpoint : ConnectedPoint } ,
15441542 /// No addresses have been provided by [`NetworkBehaviour::handle_pending_outbound_connection`] and [`DialOpts`].
15451543 NoAddresses ,
15461544 /// The provided [`dial_opts::PeerCondition`] evaluated to false and thus
@@ -1553,9 +1551,10 @@ pub enum DialError {
15531551 obtained : PeerId ,
15541552 endpoint : ConnectedPoint ,
15551553 } ,
1556- Denied {
1557- cause : ConnectionDenied ,
1558- } ,
1554+ /// One of the [`NetworkBehaviour`]s rejected the outbound connection
1555+ /// via [`NetworkBehaviour::handle_pending_outbound_connection`] or
1556+ /// [`NetworkBehaviour::handle_established_outbound_connection`].
1557+ Denied { cause : ConnectionDenied } ,
15591558 /// An error occurred while negotiating the transport protocol(s) on a connection.
15601559 Transport ( Vec < ( Multiaddr , TransportError < io:: Error > ) > ) ,
15611560}
You can’t perform that action at this time.
0 commit comments