pub enum BindingProviderError {
Provider(String),
DuplicateReceipt {
agent: String,
},
MissingReceipt {
agent: String,
},
UnexpectedReceipt {
agent: String,
},
RequestDigestMismatch {
agent: String,
requested: BindingDigest,
effective: BindingDigest,
},
EmptyProviderId {
agent: String,
},
MissingResolvedModel {
agent: String,
requested: String,
},
MissingTools {
agent: String,
missing: Vec<String>,
},
VariantMismatch {
agent: String,
requested: String,
effective: Option<String>,
},
Digest(String),
AttestationRequired {
agent: String,
reason: String,
variant: Option<String>,
tools: Vec<String>,
model: Option<String>,
},
}Expand description
Failure reported by a provider or by Core’s receipt validation.
Variants§
Provider(String)
The provider could not inspect or resolve its execution environment.
DuplicateReceipt
More than one receipt used the same logical agent correlation key.
MissingReceipt
A requested agent had no receipt.
UnexpectedReceipt
A receipt did not correspond to any request.
RequestDigestMismatch
A receipt was produced for an older or different declaration.
Fields
requested: BindingDigestDigest sent in the current request.
effective: BindingDigestDigest echoed by the provider.
EmptyProviderId
The provider identifier is required for provenance.
MissingResolvedModel
Model resolution was requested but the provider did not identify the effective model.
MissingTools
The execution environment cannot enforce every requested tool.
Fields
VariantMismatch
The effective launch variant differs from the requested variant.
Fields
Digest(String)
The accepted attestation could not be incorporated into replay identity.
AttestationRequired
strict_binding is set but the provider left a Runner-backed agent
Unbound. The message lists what an execution environment would have
to attest (launch variant, requested tools, requested model) so an
Operator can generate a satisfying capability manifest.
Fields
Trait Implementations§
Source§impl Clone for BindingProviderError
impl Clone for BindingProviderError
Source§fn clone(&self) -> BindingProviderError
fn clone(&self) -> BindingProviderError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BindingProviderError
impl Debug for BindingProviderError
Source§impl Display for BindingProviderError
impl Display for BindingProviderError
impl Eq for BindingProviderError
Source§impl Error for BindingProviderError
impl Error for BindingProviderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for BindingProviderError
impl PartialEq for BindingProviderError
impl StructuralPartialEq for BindingProviderError
Auto Trait Implementations§
impl Freeze for BindingProviderError
impl RefUnwindSafe for BindingProviderError
impl Send for BindingProviderError
impl Sync for BindingProviderError
impl Unpin for BindingProviderError
impl UnsafeUnpin for BindingProviderError
impl UnwindSafe for BindingProviderError
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<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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<E> ExternalError for E
impl<E> ExternalError for E
fn into_lua_err(self) -> Error
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more