#[non_exhaustive]pub enum WireFamily {
OpenAi,
Claude,
Gemini,
}Expand description
Vendor grouping of dialects. Derived from a Dialect, never stored
alongside one.
Names a dialect family, not a configured backend — v2 called this
Provider and the two kept getting confused. Which vendor actually serves
a dialect is the channel’s business: Anthropic and Google both expose
OpenAI-compatible endpoints, and that shows up as channel support, not here.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for WireFamily
impl Clone for WireFamily
impl Copy for WireFamily
Source§impl Debug for WireFamily
impl Debug for WireFamily
Source§impl<'de> Deserialize<'de> for WireFamily
impl<'de> Deserialize<'de> for WireFamily
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 WireFamily
Source§impl<'_derivative_strum> From<&'_derivative_strum WireFamily> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WireFamily> for &'static str
Source§fn from(x: &'_derivative_strum WireFamily) -> &'static str
fn from(x: &'_derivative_strum WireFamily) -> &'static str
Converts to this type from the input type.
Source§impl From<WireFamily> for &'static str
impl From<WireFamily> for &'static str
Source§fn from(x: WireFamily) -> &'static str
fn from(x: WireFamily) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WireFamily
impl FromStr for WireFamily
Source§impl Hash for WireFamily
impl Hash for WireFamily
Source§impl IntoEnumIterator for WireFamily
impl IntoEnumIterator for WireFamily
type Iterator = WireFamilyIter
fn iter() -> WireFamilyIter ⓘ
Source§impl Ord for WireFamily
impl Ord for WireFamily
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WireFamily
impl PartialEq for WireFamily
Source§impl PartialOrd for WireFamily
impl PartialOrd for WireFamily
Source§impl Serialize for WireFamily
impl Serialize for WireFamily
impl StructuralPartialEq for WireFamily
Auto Trait Implementations§
impl Freeze for WireFamily
impl RefUnwindSafe for WireFamily
impl Send for WireFamily
impl Sync for WireFamily
impl Unpin for WireFamily
impl UnsafeUnpin for WireFamily
impl UnwindSafe for WireFamily
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