pub enum TargetResolveError {
Ambiguous {
model_type: String,
hidden_size: usize,
tier: &'static str,
candidates: Vec<(String, Vec<String>)>,
matched: Vec<String>,
model_refs: Vec<String>,
},
PinNotFound {
pin: String,
available: Vec<String>,
},
PinIncompatible {
pin: String,
model_type: String,
hidden_size: usize,
declared: Vec<String>,
},
}Expand description
2026-09-25: Why resolution could not choose a target.
Variants§
Ambiguous
2026-09-25: Several target names claim the checkpoint’s
(model_type, hidden_size) in one tier, and the reference tie-break
did not leave exactly one.
Fields
PinNotFound
2026-09-25: --kernel-target named a target this binary did not
compile.
PinIncompatible
2026-09-25: --kernel-target named a compiled target that declares
neither the checkpoint’s (model_type, hidden_size) nor a wildcard for
its model_type.
Trait Implementations§
Source§impl Clone for TargetResolveError
impl Clone for TargetResolveError
Source§fn clone(&self) -> TargetResolveError
fn clone(&self) -> TargetResolveError
Returns a duplicate of the value. Read more
1.0.0 · 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 TargetResolveError
impl Debug for TargetResolveError
Source§impl Display for TargetResolveError
impl Display for TargetResolveError
Source§impl Error for TargetResolveError
impl Error for TargetResolveError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for TargetResolveError
impl PartialEq for TargetResolveError
impl Eq for TargetResolveError
impl StructuralPartialEq for TargetResolveError
Auto Trait Implementations§
impl Freeze for TargetResolveError
impl RefUnwindSafe for TargetResolveError
impl Send for TargetResolveError
impl Sync for TargetResolveError
impl Unpin for TargetResolveError
impl UnwindSafe for TargetResolveError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.