struct CapabilityPromptCache {
fingerprint: u64,
catalog: String,
initialized: bool,
}Fields§
§fingerprint: u64§catalog: String§initialized: boolImplementations§
Source§impl CapabilityPromptCache
impl CapabilityPromptCache
Sourcefn render<'a>(&'a mut self, caps: &[DisplayCapability<'_>]) -> (&'a str, bool)
fn render<'a>(&'a mut self, caps: &[DisplayCapability<'_>]) -> (&'a str, bool)
Reuse the rendered catalog while Atlas reports the same provider, contract, description, and input-schema data. Discovery still runs on every round, so a registration change invalidates the cache immediately.
Trait Implementations§
Source§impl Default for CapabilityPromptCache
impl Default for CapabilityPromptCache
Source§fn default() -> CapabilityPromptCache
fn default() -> CapabilityPromptCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CapabilityPromptCache
impl RefUnwindSafe for CapabilityPromptCache
impl Send for CapabilityPromptCache
impl Sync for CapabilityPromptCache
impl Unpin for CapabilityPromptCache
impl UnsafeUnpin for CapabilityPromptCache
impl UnwindSafe for CapabilityPromptCache
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].