Skip to main content

PrimaryBackend

Trait PrimaryBackend 

Source
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.

§Examples

ⓘ
let _ = std::mem::size_of::<pharos_runtime_integrations::backend::PrimaryBackend>();
  • crate::backend for constructors, helpers, and neighboring runtime types.

Required Methods§

Source

fn kind(&self) -> BackendKind

Performs kind.

Source

fn capabilities(&self) -> BackendCapabilities

Performs capabilities.

Provided Methods§

Source

fn name(&self) -> &'static str

Performs name.

Implementors§