pub struct ExecutionAdapterCatalog { /* private fields */ }Expand description
Immutable Adapter catalog assembled by a Runner before Kernel boot.
Implementations§
Source§impl ExecutionAdapterCatalog
impl ExecutionAdapterCatalog
Sourcepub fn with_stateless_transitions(
self,
successor: &ResolvedAppPlan,
instance_keys: &[String],
) -> Result<Self, RuntimeFailure>
pub fn with_stateless_transitions( self, successor: &ResolvedAppPlan, instance_keys: &[String], ) -> Result<Self, RuntimeFailure>
Admits exact stateless replacement Instances under Host authority. The Host must verify absent durable state and unchanged artifact/resource contracts before calling this; this is never an authoring requirement. Only these exact successor entries gain transition opt-in. Ordinary boot and unrelated supervision keep their existing Adapter catalogs.
Sourcepub fn single(adapter: impl ExecutionAdapter) -> Self
pub fn single(adapter: impl ExecutionAdapter) -> Self
Creates a catalog containing one Adapter package.
Sourcepub fn with_adapter(
self,
adapter: impl ExecutionAdapter,
) -> Result<Self, ExecutionAdapterCatalogError>
pub fn with_adapter( self, adapter: impl ExecutionAdapter, ) -> Result<Self, ExecutionAdapterCatalogError>
Installs one Adapter package under its open execution-class identity.
Installs an Adapter package discovered as a runtime trait object.
Sourcepub fn execution_classes(&self) -> ExecutionClassSet
pub fn execution_classes(&self) -> ExecutionClassSet
Returns the effective execution classes contributed by installed packages.
Trait Implementations§
Source§impl Debug for ExecutionAdapterCatalog
impl Debug for ExecutionAdapterCatalog
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionAdapterCatalog
impl !Send for ExecutionAdapterCatalog
impl !Sync for ExecutionAdapterCatalog
impl !UnwindSafe for ExecutionAdapterCatalog
impl Freeze for ExecutionAdapterCatalog
impl Unpin for ExecutionAdapterCatalog
impl UnsafeUnpin for ExecutionAdapterCatalog
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