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 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
Source§impl Default for ExecutionAdapterCatalog
impl Default for ExecutionAdapterCatalog
Source§fn default() -> ExecutionAdapterCatalog
fn default() -> ExecutionAdapterCatalog
Returns the “default value” for a type. Read more
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