pub type EmbeddedBackend = GenericPhotonBackend;Expand description
Back-compat alias for the default in-process mem tier GenericPhotonBackend.
Prefer PhotonBuilder::storage_port
(or the default mem path) for normal hosts. Use
GenericPhotonBackend::install_mem /
PhotonBuilder::mem_backend
when you need an explicit install fn.
§Example
ⓘ
use photon_backend::{BackendContext, EmbeddedBackend};
use photon_runtime::Photon;
let _photon = Photon::builder()
.backend_with_context(|ctx: BackendContext| EmbeddedBackend::install_mem(ctx))
.auto_registry()
.build()?;Aliased Type§
pub struct EmbeddedBackend { /* private fields */ }