pub enum RoutingFallbackReason {
ContextWindow,
Unavailable,
}Expand description
Why routing replaced a selected target with another eligible target.
Variants§
ContextWindow
The selected target rejected the request because its context window was too small.
The selected target was unavailable after its client retries finished.
Implementations§
Trait Implementations§
Source§impl Clone for RoutingFallbackReason
impl Clone for RoutingFallbackReason
Source§fn clone(&self) -> RoutingFallbackReason
fn clone(&self) -> RoutingFallbackReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoutingFallbackReason
impl Debug for RoutingFallbackReason
Source§impl PartialEq for RoutingFallbackReason
impl PartialEq for RoutingFallbackReason
impl Copy for RoutingFallbackReason
impl Eq for RoutingFallbackReason
impl StructuralPartialEq for RoutingFallbackReason
Auto Trait Implementations§
impl Freeze for RoutingFallbackReason
impl RefUnwindSafe for RoutingFallbackReason
impl Send for RoutingFallbackReason
impl Sync for RoutingFallbackReason
impl Unpin for RoutingFallbackReason
impl UnsafeUnpin for RoutingFallbackReason
impl UnwindSafe for RoutingFallbackReason
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