pub enum ProxyError {
InvalidUri(InvalidUri),
HyperError(Error),
ForwardHeaderError,
}
Variants§
Trait Implementations§
Source§impl Debug for ProxyError
impl Debug for ProxyError
Source§impl From<Error> for ProxyError
impl From<Error> for ProxyError
Source§fn from(err: Error) -> ProxyError
fn from(err: Error) -> ProxyError
Converts to this type from the input type.
Source§impl From<InvalidHeaderValue> for ProxyError
impl From<InvalidHeaderValue> for ProxyError
Source§fn from(_err: InvalidHeaderValue) -> ProxyError
fn from(_err: InvalidHeaderValue) -> ProxyError
Converts to this type from the input type.
Source§impl From<InvalidUri> for ProxyError
impl From<InvalidUri> for ProxyError
Source§fn from(err: InvalidUri) -> ProxyError
fn from(err: InvalidUri) -> ProxyError
Converts to this type from the input type.
Source§impl From<ToStrError> for ProxyError
impl From<ToStrError> for ProxyError
Source§fn from(_err: ToStrError) -> ProxyError
fn from(_err: ToStrError) -> ProxyError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProxyError
impl !RefUnwindSafe for ProxyError
impl Send for ProxyError
impl Sync for ProxyError
impl Unpin for ProxyError
impl !UnwindSafe for ProxyError
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