pub enum InboundProbeEvent {
Request {
probe_id: ProbeId,
peer: PeerId,
addresses: Vec<Multiaddr>,
},
Response {
probe_id: ProbeId,
peer: PeerId,
address: Multiaddr,
},
Error {
probe_id: ProbeId,
peer: PeerId,
error: InboundProbeError,
},
}
Variants§
Request
Fields
A dial-back request was received from a remote peer.
Response
A dial request to the remote was successful.
Error
Fields
§
error: InboundProbeError
The inbound request failed, was rejected, or none of the remote’s addresses could be dialed.
Trait Implementations§
source§impl Clone for InboundProbeEvent
impl Clone for InboundProbeEvent
source§fn clone(&self) -> InboundProbeEvent
fn clone(&self) -> InboundProbeEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InboundProbeEvent
impl Debug for InboundProbeEvent
source§impl PartialEq<InboundProbeEvent> for InboundProbeEvent
impl PartialEq<InboundProbeEvent> for InboundProbeEvent
source§fn eq(&self, other: &InboundProbeEvent) -> bool
fn eq(&self, other: &InboundProbeEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.