#[non_exhaustive]pub struct TestVm<'a> {
pub name: &'a str,
pub hostname: &'a str,
}Expand description
The test VM, as the caller names it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: &'a strHow it shows in the hypervisor’s own app; also how a VM an earlier test left is found.
hostname: &'a strIts host name inside; also the prefix of its libvirt domain, and the tag of the VirtualBox description that marks a VM as the test’s.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for TestVm<'a>
impl<'a> Freeze for TestVm<'a>
impl<'a> Move for TestVm<'a>
impl<'a> RefUnwindSafe for TestVm<'a>
impl<'a> Send for TestVm<'a>
impl<'a> Sync for TestVm<'a>
impl<'a> Unpin for TestVm<'a>
impl<'a> UnsafeUnpin for TestVm<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for TestVm<'a>where
&'a str: UnwindSafe,
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