pub enum PxpTunnelError {
Gone,
UnexpectedStatus(u16),
TooManyRedirects,
}Variants§
Gone
The tunnel server returned HTTP 410 Gone for the contacted resource.
UnexpectedStatus(u16)
The tunnel server returned an unexpected, non-success HTTP status.
TooManyRedirects
The tunnel server kept redirecting past the allowed limit.
Trait Implementations§
Source§impl Clone for PxpTunnelError
impl Clone for PxpTunnelError
Source§impl Debug for PxpTunnelError
impl Debug for PxpTunnelError
Source§impl Display for PxpTunnelError
impl Display for PxpTunnelError
Source§impl Error for PxpTunnelError
impl Error for PxpTunnelError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<PxpTunnelError> for PxpError
impl From<PxpTunnelError> for PxpError
Source§fn from(source: PxpTunnelError) -> Self
fn from(source: PxpTunnelError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PxpTunnelError
impl PartialEq for PxpTunnelError
impl StructuralPartialEq for PxpTunnelError
Auto Trait Implementations§
impl Freeze for PxpTunnelError
impl RefUnwindSafe for PxpTunnelError
impl Send for PxpTunnelError
impl Sync for PxpTunnelError
impl Unpin for PxpTunnelError
impl UnsafeUnpin for PxpTunnelError
impl UnwindSafe for PxpTunnelError
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