pub struct SearchChain { /* private fields */ }Expand description
Backends in preference order, with fall-through on failure.
This is what makes stacking free tiers work: when the first backend returns 429 or 402 because the month’s allowance is gone, the next one answers, and the agent never sees a failure.
Implementations§
Source§impl SearchChain
impl SearchChain
Auto Trait Implementations§
impl !RefUnwindSafe for SearchChain
impl !UnwindSafe for SearchChain
impl Freeze for SearchChain
impl Send for SearchChain
impl Sync for SearchChain
impl Unpin for SearchChain
impl UnsafeUnpin for SearchChain
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