pub struct RouteInfo {
pub selected_backend: Option<BackendInfo>,
pub provider_name: Option<String>,
pub normalized_path: Option<String>,
pub rewritten_path: Option<String>,
}Expand description
Backend selection and request-path information.
Fields§
§selected_backend: Option<BackendInfo>Selected backend connection info.
provider_name: Option<String>Backend / provider name (cached for diagnostics after the backend reference is no longer convenient to hold).
normalized_path: Option<String>Request path after optional path_prefix stripping.
rewritten_path: Option<String>Rewritten upstream path (includes backend’s base_path).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteInfo
impl RefUnwindSafe for RouteInfo
impl Send for RouteInfo
impl Sync for RouteInfo
impl Unpin for RouteInfo
impl UnsafeUnpin for RouteInfo
impl UnwindSafe for RouteInfo
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