pub enum ApiErrorProvider {
Bedrock,
AnthropicAws,
Mantle,
AnthropicGoogleCloud,
Vertex,
Foundry,
Gateway,
Unknown(String),
}Expand description
The API provider whose credentials failed (ApiErrorParams::provider).
Variants§
Bedrock
AnthropicAws
Mantle
AnthropicGoogleCloud
Vertex
Foundry
Gateway
Unknown(String)
A provider not yet known to this version of the crate.
Implementations§
Trait Implementations§
Source§impl Clone for ApiErrorProvider
impl Clone for ApiErrorProvider
Source§fn clone(&self) -> ApiErrorProvider
fn clone(&self) -> ApiErrorProvider
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 moreSource§impl Debug for ApiErrorProvider
impl Debug for ApiErrorProvider
Source§impl<'de> Deserialize<'de> for ApiErrorProvider
impl<'de> Deserialize<'de> for ApiErrorProvider
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ApiErrorProvider
impl Display for ApiErrorProvider
impl Eq for ApiErrorProvider
Source§impl From<&str> for ApiErrorProvider
impl From<&str> for ApiErrorProvider
Source§impl Hash for ApiErrorProvider
impl Hash for ApiErrorProvider
Source§impl PartialEq for ApiErrorProvider
impl PartialEq for ApiErrorProvider
Source§impl Serialize for ApiErrorProvider
impl Serialize for ApiErrorProvider
impl StructuralPartialEq for ApiErrorProvider
Auto Trait Implementations§
impl Freeze for ApiErrorProvider
impl RefUnwindSafe for ApiErrorProvider
impl Send for ApiErrorProvider
impl Sync for ApiErrorProvider
impl Unpin for ApiErrorProvider
impl UnsafeUnpin for ApiErrorProvider
impl UnwindSafe for ApiErrorProvider
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