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§
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more