Skip to main content

resolve_primary_backend

Function resolve_primary_backend 

Source
pub fn resolve_primary_backend(
    name: &str,
) -> Result<Arc<dyn PrimaryBackend>, BackendError>
Expand description

Resolves one shipped primary backend through the shared immutable registry.

§Parameters

§Returns

Returns the successful value produced by crate::resolve_primary_backend or an error when the operation fails.

§Errors

Returns an error value when crate::resolve_primary_backend cannot complete successfully.

§Examples

ⓘ
let _result = pharos_runtime_integrations::resolve_primary_backend("name");
  • crate for adjacent helpers that share the same runtime surface.