pub enum EgressError {
Refused(Refused),
Timeout,
Http(Error),
}Expand description
A request that did not get a response.
Variants§
Refused(Refused)
The policy refused it; nothing was sent.
Timeout
Its deadline passed.
Http(Error)
Any other failure, without the URL.
Trait Implementations§
Source§impl Debug for EgressError
impl Debug for EgressError
Source§impl Display for EgressError
impl Display for EgressError
Source§impl Error for EgressError
impl Error for EgressError
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<Refused> for EgressError
impl From<Refused> for EgressError
Source§fn from(refused: Refused) -> EgressError
fn from(refused: Refused) -> EgressError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EgressError
impl !UnwindSafe for EgressError
impl Freeze for EgressError
impl Send for EgressError
impl Sync for EgressError
impl Unpin for EgressError
impl UnsafeUnpin for EgressError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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