pub enum RouteAwareClientPoolError {
Resolve(Error),
Build(BuildRouteAwareHttpClientError),
}Expand description
Error returned when selecting a route or constructing its pooled HTTP client.
Variants§
Resolve(Error)
Build(BuildRouteAwareHttpClientError)
Trait Implementations§
Source§impl Debug for RouteAwareClientPoolError
impl Debug for RouteAwareClientPoolError
Source§impl Display for RouteAwareClientPoolError
impl Display for RouteAwareClientPoolError
Source§impl Error for RouteAwareClientPoolError
impl Error for RouteAwareClientPoolError
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<BuildRouteAwareHttpClientError> for RouteAwareClientPoolError
impl From<BuildRouteAwareHttpClientError> for RouteAwareClientPoolError
Source§fn from(source: BuildRouteAwareHttpClientError) -> Self
fn from(source: BuildRouteAwareHttpClientError) -> Self
Converts to this type from the input type.
Source§impl From<RouteAwareClientPoolError> for RouteAwareRequestError
impl From<RouteAwareClientPoolError> for RouteAwareRequestError
Source§fn from(source: RouteAwareClientPoolError) -> Self
fn from(source: RouteAwareClientPoolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RouteAwareClientPoolError
impl !UnwindSafe for RouteAwareClientPoolError
impl Freeze for RouteAwareClientPoolError
impl Send for RouteAwareClientPoolError
impl Sync for RouteAwareClientPoolError
impl Unpin for RouteAwareClientPoolError
impl UnsafeUnpin for RouteAwareClientPoolError
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