pub struct MachineRegistry { /* private fields */ }Expand description
Machine registry — persists machine configurations.
Implementations§
Source§impl MachineRegistry
impl MachineRegistry
Sourcepub fn default_path() -> PathBuf
pub fn default_path() -> PathBuf
Default registry path.
Sourcepub fn update_health(&self, id: &str, health: HealthStatus) -> Result<()>
pub fn update_health(&self, id: &str, health: HealthStatus) -> Result<()>
Update a machine’s health status.
Auto Trait Implementations§
impl Freeze for MachineRegistry
impl RefUnwindSafe for MachineRegistry
impl Send for MachineRegistry
impl Sync for MachineRegistry
impl Unpin for MachineRegistry
impl UnsafeUnpin for MachineRegistry
impl UnwindSafe for MachineRegistry
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