pub enum RoutingClass {
Direct,
Routed,
Unknown,
}Expand description
Whether the call reaches the provider’s own API.
Variants§
Direct
A direct client (OpenAI(), Anthropic(), genai.Client()), or one
whose base_url is the provider’s own host (BaseUrl).
Routed
Azure, another host in base_url, Bedrock or Vertex for Claude: the
provider’s dates may not apply.
Unknown
Arbor could not tell (a client from a factory, **kwargs passed to
the constructor, a client assigned two ways, a base_url read from
the environment or from code Arbor cannot read).
Trait Implementations§
Source§impl Clone for RoutingClass
impl Clone for RoutingClass
impl Copy for RoutingClass
Source§impl Debug for RoutingClass
impl Debug for RoutingClass
impl Eq for RoutingClass
Source§impl Hash for RoutingClass
impl Hash for RoutingClass
Source§impl PartialEq for RoutingClass
impl PartialEq for RoutingClass
Source§impl Serialize for RoutingClass
impl Serialize for RoutingClass
impl StructuralPartialEq for RoutingClass
Auto Trait Implementations§
impl Freeze for RoutingClass
impl RefUnwindSafe for RoutingClass
impl Send for RoutingClass
impl Sync for RoutingClass
impl Unpin for RoutingClass
impl UnsafeUnpin for RoutingClass
impl UnwindSafe for RoutingClass
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