pub struct RunningVm { /* private fields */ }Implementations§
Source§impl RunningVm
impl RunningVm
pub fn name(&self) -> &str
pub async fn wait_for_ssh(&self) -> Result<VmInfo>
pub async fn info(&self) -> Result<VmInfo>
pub async fn exec<I, S>(&self, command: I) -> Result<ExecOutput>
pub async fn exec_checked<I, S>(&self, command: I) -> Result<ExecOutput>
pub async fn stop(self) -> Result<Vm>
pub async fn delete(self) -> Result<()>
Auto Trait Implementations§
impl Freeze for RunningVm
impl !RefUnwindSafe for RunningVm
impl Send for RunningVm
impl Sync for RunningVm
impl Unpin for RunningVm
impl UnsafeUnpin for RunningVm
impl !UnwindSafe for RunningVm
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