pub struct CatalogClientContract {
pub protocol_version: i64,
pub required_capabilities: Vec<String>,
}Expand description
The protocol version and capability set a caller requires, supplied on every catalog request so negotiation cannot be skipped by omission.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§protocol_version: i64SDK protocol version the caller was generated against. A caller below the runtime’s minimum supported version is refused rather than served a partial result.
required_capabilities: Vec<String>Wire features the caller requires the runtime to understand. Identifiers are bounded but extensible so a newer caller can negotiate with an older runtime. Requiring an unknown feature yields a typed refusal listing what is understood, never a partial grant. A grant does not promise that a deployment has enabled the operation; typed unavailable results report that separately.
Trait Implementations§
Source§impl Clone for CatalogClientContract
impl Clone for CatalogClientContract
Source§fn clone(&self) -> CatalogClientContract
fn clone(&self) -> CatalogClientContract
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more