pub enum Wanted {
Type(BindingType),
SearchService,
ModelHost,
}Expand description
What EnvBindings::find_physical is looking for.
Variants§
Type(BindingType)
A declared binding of this exact type.
SearchService
The environment’s implicit search target.
ModelHost
Anything that can host a model deployment: a declared ai-services
binding, or the environment’s implicit foundry target.
Implementations§
Source§impl Wanted
impl Wanted
Sourcepub fn for_binding(kind: BindingType) -> Wanted
pub fn for_binding(kind: BindingType) -> Wanted
What a declared binding of kind competes for — the same mapping
crate::infra::classify uses, so “shared” means exactly one thing
everywhere: an ai-services binding and the implicit foundry
target are both model hosts and can therefore share a value.
Trait Implementations§
impl Copy for Wanted
impl Eq for Wanted
impl StructuralPartialEq for Wanted
Auto Trait Implementations§
impl Freeze for Wanted
impl RefUnwindSafe for Wanted
impl Send for Wanted
impl Sync for Wanted
impl Unpin for Wanted
impl UnsafeUnpin for Wanted
impl UnwindSafe for Wanted
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,
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.