pub enum OutboundProbeError {
NoServer,
NoAddresses,
OutboundRequest(OutboundFailure),
Response(ResponseError),
}
Expand description
Outbound probe failed or was aborted.
Variants§
NoServer
Probe was aborted because no server is known, or all servers
are throttled through Config::throttle_server_period
.
NoAddresses
Probe was aborted because the local peer has no listening or external addresses.
OutboundRequest(OutboundFailure)
Sending the dial-back request or receiving a response failed.
Response(ResponseError)
The server refused or failed to dial us.
Trait Implementations§
source§impl Clone for OutboundProbeError
impl Clone for OutboundProbeError
source§fn clone(&self) -> OutboundProbeError
fn clone(&self) -> OutboundProbeError
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 OutboundProbeError
impl Debug for OutboundProbeError
source§impl PartialEq<OutboundProbeError> for OutboundProbeError
impl PartialEq<OutboundProbeError> for OutboundProbeError
source§fn eq(&self, other: &OutboundProbeError) -> bool
fn eq(&self, other: &OutboundProbeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OutboundProbeError
impl StructuralEq for OutboundProbeError
impl StructuralPartialEq for OutboundProbeError
Auto Trait Implementations§
impl RefUnwindSafe for OutboundProbeError
impl Send for OutboundProbeError
impl Sync for OutboundProbeError
impl Unpin for OutboundProbeError
impl UnwindSafe for OutboundProbeError
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