pub trait PrimaryBackend: Send + Sync {
// Required methods
fn kind(&self) -> BackendKind;
fn capabilities(&self) -> BackendCapabilities;
// Provided method
fn name(&self) -> &'static str { ... }
}Expand description
One configured primary backend implementation registered with the runtime.
§Related
crate::backendfor neighboring helpers and related types.
§Examples
ⓘ
let _ = std::mem::size_of::<pharos_runtime_integrations::backend::PrimaryBackend>();§Related
crate::backendfor constructors, helpers, and neighboring runtime types.
Required Methods§
Sourcefn kind(&self) -> BackendKind
fn kind(&self) -> BackendKind
Performs kind.
Sourcefn capabilities(&self) -> BackendCapabilities
fn capabilities(&self) -> BackendCapabilities
Performs capabilities.