pub enum SelectFailure {
UnknownOrg {
org: String,
},
NoEligibleAccount {
model: String,
org: String,
},
BudgetExhausted {
tried: usize,
org: String,
model: String,
reset_in: Duration,
},
}Expand description
Why a request could not be bound to an account.
Variants§
UnknownOrg
The org in the path is not in the config.
NoEligibleAccount
No account in the walk declares the model.
BudgetExhausted
The whole walk is inside a rotation cooldown: they serve the
model, they are cooling until reset_in.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SelectFailure
impl RefUnwindSafe for SelectFailure
impl Send for SelectFailure
impl Sync for SelectFailure
impl Unpin for SelectFailure
impl UnsafeUnpin for SelectFailure
impl UnwindSafe for SelectFailure
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