Enum ockam_transport_udp::PunchError
source · pub enum PunchError {
RendezvousServiceNotFound,
HoleNotOpen,
Internal,
}
Expand description
UDP NAT Hole Puncher errors
Variants§
RendezvousServiceNotFound
Unable to reach the Rendezvous Service
HoleNotOpen
Hole to peer not open
Internal
Internal error, possibly a bug
Trait Implementations§
source§impl Clone for PunchError
impl Clone for PunchError
source§fn clone(&self) -> PunchError
fn clone(&self) -> PunchError
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 PunchError
impl Debug for PunchError
source§impl Display for PunchError
impl Display for PunchError
source§impl Error for PunchError
impl Error for PunchError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<PunchError> for Error
impl From<PunchError> for Error
source§fn from(err: PunchError) -> Self
fn from(err: PunchError) -> Self
Converts to this type from the input type.
impl Copy for PunchError
Auto Trait Implementations§
impl RefUnwindSafe for PunchError
impl Send for PunchError
impl Sync for PunchError
impl Unpin for PunchError
impl UnwindSafe for PunchError
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
§type Instrumented = TracedError<E>
type Instrumented = TracedError<E>
The type of the wrapped error after instrumentation
source§fn in_current_span(self) -> <E as InstrumentError>::Instrumented
fn in_current_span(self) -> <E as InstrumentError>::Instrumented
Instrument an Error by bundling it with a SpanTrace Read more