pub struct RealityEngine {
pub deployment_store: DeploymentStore,
pub environment_store: EnvironmentStore,
pub resource_store: ResourceStore,
pub reality_store: RealityStore,
pub topology_store: TopologyStore,
pub temporal_store: TemporalStore,
pub stakes_store: StakesStore,
pub coherence_store: CoherenceStore,
pub indexes: RealityIndexes,
/* private fields */
}Expand description
The main reality engine combining write and query capabilities.
Fields§
§deployment_store: DeploymentStore§environment_store: EnvironmentStore§resource_store: ResourceStore§reality_store: RealityStore§topology_store: TopologyStore§temporal_store: TemporalStore§stakes_store: StakesStore§coherence_store: CoherenceStore§indexes: RealityIndexesImplementations§
Source§impl RealityEngine
impl RealityEngine
Sourcepub fn writer(&mut self) -> WriteEngine<'_>
pub fn writer(&mut self) -> WriteEngine<'_>
Get a write engine handle.
Sourcepub fn reader(&self) -> QueryEngine<'_>
pub fn reader(&self) -> QueryEngine<'_>
Get a query engine handle.
Sourcepub fn mark_dirty(&mut self)
pub fn mark_dirty(&mut self)
Mark the engine as dirty (has unsaved changes).
Sourcepub fn mark_clean(&mut self)
pub fn mark_clean(&mut self)
Mark the engine as clean (all changes saved).
Sourcepub fn incarnation_id(&self) -> Option<IncarnationId>
pub fn incarnation_id(&self) -> Option<IncarnationId>
Get the current incarnation ID if initialized.
Sourcepub fn is_initialized(&self) -> bool
pub fn is_initialized(&self) -> bool
Check if the engine has been initialized with a deployment soul.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RealityEngine
impl RefUnwindSafe for RealityEngine
impl Send for RealityEngine
impl Sync for RealityEngine
impl Unpin for RealityEngine
impl UnsafeUnpin for RealityEngine
impl UnwindSafe for RealityEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more