pub struct DeferredDeclarations {
pub tools: Vec<DeclaredExtensionTool>,
pub providers: Vec<DeclaredExtensionProvider>,
pub lifecycle: Option<DeferredLifecycle>,
pub context_providers: Vec<DeclaredExtensionContextProvider>,
}Expand description
OPTIONAL additive manifest block. Absent => legacy eager lifecycle.
Fields§
§tools: Vec<DeclaredExtensionTool>EXACT tools the extension will register at initialize.
providers: Vec<DeclaredExtensionProvider>TYPED RegisteredProviderSpec-compatible provider metadata,
deeply bounded/validated here so malformed passive metadata can
never reach provider routing later.
lifecycle: Option<DeferredLifecycle>Optional lifecycle hint for extensions without tools/providers.
context_providers: Vec<DeclaredExtensionContextProvider>TYPED memory/context contribution provider declarations
(continuous-memory spec §7.1). ADDITIVE: absent => empty =>
byte-compatible with every existing manifest (skip_serializing_if
keeps serialized output identical too). COMPLETELY UNRELATED to
providers above (model/LLM provider metadata): a context provider
is dormant capability metadata that never spawns anything at load
and stays dormant until an exact memory-context lease (task A6) is
granted.
Trait Implementations§
Source§impl Clone for DeferredDeclarations
impl Clone for DeferredDeclarations
Source§fn clone(&self) -> DeferredDeclarations
fn clone(&self) -> DeferredDeclarations
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 DeferredDeclarations
impl Debug for DeferredDeclarations
Source§impl Default for DeferredDeclarations
impl Default for DeferredDeclarations
Source§fn default() -> DeferredDeclarations
fn default() -> DeferredDeclarations
Source§impl<'de> Deserialize<'de> for DeferredDeclarations
impl<'de> Deserialize<'de> for DeferredDeclarations
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeferredDeclarations, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeferredDeclarations, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for DeferredDeclarations
impl Serialize for DeferredDeclarations
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for DeferredDeclarations
impl RefUnwindSafe for DeferredDeclarations
impl Send for DeferredDeclarations
impl Sync for DeferredDeclarations
impl Unpin for DeferredDeclarations
impl UnsafeUnpin for DeferredDeclarations
impl UnwindSafe for DeferredDeclarations
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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