pub struct CatalogNegotiationRefusedError {
pub kind: CatalogNegotiationRefusedErrorKind,
pub message: String,
pub minimum_supported_protocol_version: i64,
pub reason: CatalogNegotiationRefusedReason,
pub runtime_protocol_version: i64,
pub supported_capabilities: Vec<CatalogCapability>,
pub unsupported_capabilities: Vec<String>,
}Expand description
The caller’s protocol version or required capabilities cannot be honoured. Returned instead of a partial or ambiguous success.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§kind: CatalogNegotiationRefusedErrorKindDiscriminator: capability or protocol-version negotiation failed
message: StringHuman-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
minimum_supported_protocol_version: i64Lowest caller protocol version this runtime will serve.
reason: CatalogNegotiationRefusedReasonWhether the version or the capability set was the problem.
runtime_protocol_version: i64Protocol version of the runtime that refused the request.
supported_capabilities: Vec<CatalogCapability>Every wire feature this runtime understands, so the caller can retry within that contract. This list does not imply that every deployment has enabled every operation.
unsupported_capabilities: Vec<String>The subset of the caller’s bounded extensible capability identifiers this runtime cannot honour.
Trait Implementations§
Source§impl Clone for CatalogNegotiationRefusedError
impl Clone for CatalogNegotiationRefusedError
Source§fn clone(&self) -> CatalogNegotiationRefusedError
fn clone(&self) -> CatalogNegotiationRefusedError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more