From 39622315bec243db69c248f44f6e9bdc4ae62ba7 Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 20 Mar 2025 12:33:20 +0000 Subject: [PATCH] fix: add missing trait impl --- src/host/libvirt.rs | 4 ++++ src/mocks.rs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/host/libvirt.rs b/src/host/libvirt.rs index 322eb3d..0453dbd 100644 --- a/src/host/libvirt.rs +++ b/src/host/libvirt.rs @@ -30,6 +30,10 @@ impl VmHostClient for LibVirt { todo!() } + async fn reinstall_vm(&self, cfg: &FullVmInfo) -> anyhow::Result<()> { + todo!() + } + async fn get_vm_state(&self, vm: &Vm) -> anyhow::Result { todo!() } diff --git a/src/mocks.rs b/src/mocks.rs index cb25005..29747c3 100644 --- a/src/mocks.rs +++ b/src/mocks.rs @@ -768,6 +768,10 @@ impl VmHostClient for MockVmHost { Ok(()) } + async fn reinstall_vm(&self, cfg: &FullVmInfo) -> anyhow::Result<()> { + todo!() + } + async fn get_vm_state(&self, vm: &Vm) -> anyhow::Result { let vms = self.vms.lock().await; if let Some(vm) = vms.get(&vm.id) {