pub enum CatalogRefreshError {
Unauthorized,
Forbidden,
NotFound,
RateLimited,
InvalidResponse,
EmptyList,
Network,
}Expand description
Why a provider live catalog refresh did not produce usable rows.
Every variant must leave previously cached / bundled / configured rows available; a refresh failure is never fatal to model selection.
Variants§
401 — auth missing or invalid.
Forbidden
403 — auth present but not permitted.
NotFound
404 — provider does not expose /models at this base URL.
RateLimited
429 — rate limited.
InvalidResponse
Response was not parseable as a model listing.
EmptyList
Provider returned an empty model list.
Network
Transport / network failure.
Trait Implementations§
Source§impl Clone for CatalogRefreshError
impl Clone for CatalogRefreshError
Source§fn clone(&self) -> CatalogRefreshError
fn clone(&self) -> CatalogRefreshError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CatalogRefreshError
Source§impl Debug for CatalogRefreshError
impl Debug for CatalogRefreshError
Source§impl<'de> Deserialize<'de> for CatalogRefreshError
impl<'de> Deserialize<'de> for CatalogRefreshError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CatalogRefreshError
Source§impl PartialEq for CatalogRefreshError
impl PartialEq for CatalogRefreshError
Source§impl Serialize for CatalogRefreshError
impl Serialize for CatalogRefreshError
impl StructuralPartialEq for CatalogRefreshError
Auto Trait Implementations§
impl Freeze for CatalogRefreshError
impl RefUnwindSafe for CatalogRefreshError
impl Send for CatalogRefreshError
impl Sync for CatalogRefreshError
impl Unpin for CatalogRefreshError
impl UnsafeUnpin for CatalogRefreshError
impl UnwindSafe for CatalogRefreshError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.