pub struct VersionRegistry { /* private fields */ }Expand description
Version registry for all modules.
Implementations§
Source§impl VersionRegistry
impl VersionRegistry
Sourcepub fn get_or_create(&self, module_name: &str) -> Arc<VersionManager>
pub fn get_or_create(&self, module_name: &str) -> Arc<VersionManager>
Gets or creates a version manager.
Sourcepub fn module_count(&self) -> usize
pub fn module_count(&self) -> usize
Returns the number of managed modules.
Trait Implementations§
Source§impl Debug for VersionRegistry
impl Debug for VersionRegistry
Auto Trait Implementations§
impl Freeze for VersionRegistry
impl !RefUnwindSafe for VersionRegistry
impl Send for VersionRegistry
impl Sync for VersionRegistry
impl Unpin for VersionRegistry
impl UnsafeUnpin for VersionRegistry
impl !UnwindSafe for VersionRegistry
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