pub enum OutboundProbeEvent {
Request {
probe_id: ProbeId,
peer: PeerId,
},
Response {
probe_id: ProbeId,
peer: PeerId,
address: Multiaddr,
},
Error {
probe_id: ProbeId,
peer: Option<PeerId>,
error: OutboundProbeError,
},
}
Variants
Request
A dial-back request was sent to a remote peer.
Response
The remote successfully dialed one of our addresses.
Error
Fields
probe_id: ProbeId
peer: Option<PeerId>
Id of the peer used for the probe.
None
if the probe was aborted due to no addresses or no qualified server.
error: OutboundProbeError
The outbound request failed, was rejected, or the remote could dial none of our addresses.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OutboundProbeEvent
impl Send for OutboundProbeEvent
impl Sync for OutboundProbeEvent
impl Unpin for OutboundProbeEvent
impl UnwindSafe for OutboundProbeEvent
Blanket Implementations
Mutably borrows from an owned value. Read more