pub struct CoreServices { /* private fields */ }Expand description
Consolidated service container for all domain services
Implementations§
Source§impl CoreServices
impl CoreServices
Sourcepub async fn bootstrap(db_path: impl AsRef<Path>) -> CrdtResult<Self>
pub async fn bootstrap(db_path: impl AsRef<Path>) -> CrdtResult<Self>
Bootstrap services with a database path
Sourcepub fn crdt_manager(&self) -> &Arc<CrdtManager>
pub fn crdt_manager(&self) -> &Arc<CrdtManager>
Get a reference to the CRDT manager
Auto Trait Implementations§
impl Freeze for CoreServices
impl RefUnwindSafe for CoreServices
impl Send for CoreServices
impl Sync for CoreServices
impl Unpin for CoreServices
impl UnwindSafe for CoreServices
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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