Enum libp2p::autonat::InboundProbeEvent
source · [−]pub enum InboundProbeEvent {
Request {
probe_id: ProbeId,
peer: PeerId,
addresses: Vec<Multiaddr, Global>,
},
Response {
probe_id: ProbeId,
peer: PeerId,
address: Multiaddr,
},
Error {
probe_id: ProbeId,
peer: PeerId,
error: InboundProbeError,
},
}
Variants
Request
A dial-back request was received from a remote peer.
Response
A dial request to the remote was successful.
Error
The inbound request failed, was rejected, or none of the remote’s addresses could be dialed.
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 InboundProbeEvent
impl Send for InboundProbeEvent
impl Sync for InboundProbeEvent
impl Unpin for InboundProbeEvent
impl UnwindSafe for InboundProbeEvent
Blanket Implementations
Mutably borrows from an owned value. Read more