pub struct UpdateSystem { /* private fields */ }Expand description
Update system manager
Implementations§
Source§impl UpdateSystem
impl UpdateSystem
Sourcepub fn new(config: UpdateConfig) -> Self
pub fn new(config: UpdateConfig) -> Self
Create a new update system
Sourcepub fn tile_manager(&self) -> &Arc<TileUpdateManager>
pub fn tile_manager(&self) -> &Arc<TileUpdateManager>
Get tile update manager
Sourcepub fn feature_manager(&self) -> &Arc<FeatureUpdateManager>
pub fn feature_manager(&self) -> &Arc<FeatureUpdateManager>
Get feature update manager
Sourcepub fn incremental_manager(&self) -> &Arc<IncrementalUpdateManager>
pub fn incremental_manager(&self) -> &Arc<IncrementalUpdateManager>
Get incremental update manager
Sourcepub async fn get_or_create_stream(&self, name: &str) -> Arc<ChangeStream>
pub async fn get_or_create_stream(&self, name: &str) -> Arc<ChangeStream>
Create or get a change stream
Sourcepub async fn remove_stream(&self, name: &str) -> Option<Arc<ChangeStream>>
pub async fn remove_stream(&self, name: &str) -> Option<Arc<ChangeStream>>
Remove a change stream
Sourcepub async fn stats(&self) -> UpdateStats
pub async fn stats(&self) -> UpdateStats
Get update statistics
Auto Trait Implementations§
impl Freeze for UpdateSystem
impl !RefUnwindSafe for UpdateSystem
impl Send for UpdateSystem
impl Sync for UpdateSystem
impl Unpin for UpdateSystem
impl UnsafeUnpin for UpdateSystem
impl !UnwindSafe for UpdateSystem
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