pub struct Store {
pub registries: HashMap<String, Registry>,
}Fields§
§registries: HashMap<String, Registry>Implementations§
Source§impl Store
impl Store
pub async fn load() -> Self
pub async fn save(&self)
pub async fn get_current_registry(&self, is_local: bool) -> Option<String>
pub async fn list_registries(&self)
pub fn set_current_use(&mut self, name: &str, is_local: bool)
pub async fn test_registry_speed(&self) -> Vec<SpeedTestResult>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Store
impl RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl UnsafeUnpin for Store
impl UnwindSafe for Store
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