pub enum BaseUrlEnvReceipt {
Unrecorded,
NoOwner,
Route(ProviderKind, String),
}Expand description
What the environment layer decided about the generic
CODEWHALE_BASE_URL / DEEPSEEK_BASE_URL override.
The distinction that matters is between “no receipt” and “a receipt saying
nobody owns it”. They are not the same state and must not collapse: a
missing receipt is a config that never passed through the environment
layer, while BaseUrlEnvReceipt::NoOwner is a positive statement that a
higher-precedence layer took the endpoint away from the environment.
Variants§
Unrecorded
The environment layer never ran for this config — directly constructed configs, embedded profiles, and unit-test fixtures. These keep the established global fallback: the generic override applies to whatever route is asked about.
NoOwner
The environment layer ran and no route owns the generic override — either it was absent, or a higher-precedence file layer (a managed overlay) supplied/reselected the effective route’s endpoint. No route, active or pinned, may borrow the ambient generic host.
Route(ProviderKind, String)
The environment layer ran and addressed the override to exactly this
(provider, identity). Only that route resolves it; every other route
falls through to its own default.
Trait Implementations§
Source§impl Clone for BaseUrlEnvReceipt
impl Clone for BaseUrlEnvReceipt
Source§impl Debug for BaseUrlEnvReceipt
impl Debug for BaseUrlEnvReceipt
Source§impl Default for BaseUrlEnvReceipt
impl Default for BaseUrlEnvReceipt
impl Eq for BaseUrlEnvReceipt
Source§impl PartialEq for BaseUrlEnvReceipt
impl PartialEq for BaseUrlEnvReceipt
impl StructuralPartialEq for BaseUrlEnvReceipt
Auto Trait Implementations§
impl Forget for BaseUrlEnvReceipt
impl Freeze for BaseUrlEnvReceipt
impl Move for BaseUrlEnvReceipt
impl RefUnwindSafe for BaseUrlEnvReceipt
impl Send for BaseUrlEnvReceipt
impl Sync for BaseUrlEnvReceipt
impl Unpin for BaseUrlEnvReceipt
impl UnsafeUnpin for BaseUrlEnvReceipt
impl UnwindSafe for BaseUrlEnvReceipt
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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
key and return true if they are equal.