Skip to main content

backend_kind

Function backend_kind 

Source
pub fn backend_kind(name: &str) -> Result<BackendKind, BackendError>
Expand description

Resolves the typed primary backend kind from one runtime config value.

§Parameters

§Returns

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

§Errors

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

§Examples

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