pub struct Request {
pub test_content_dir: ReadVar<PathBuf>,
pub disk_images_dir: Option<ReadVar<PathBuf>>,
pub vmm_tests_target: Triple,
pub get_test_log_path: Option<WriteVar<PathBuf>>,
pub petri_params: PetriParams,
pub get_env: WriteVar<BTreeMap<String, String>>,
}Fields§
§test_content_dir: ReadVar<PathBuf>Directory to symlink / copy test contents into. Does not need to be empty.
disk_images_dir: Option<ReadVar<PathBuf>>Specify where VMM tests disk images are stored.
vmm_tests_target: TripleWhat triple VMM tests are built for.
Used to detect cases of running Windows VMM tests via WSL2, and adjusting reported paths appropriately.
get_test_log_path: Option<WriteVar<PathBuf>>Get the path to the folder containing various logs emitted VMM tests.
petri_params: PetriParamsParameters to pass to Petri via environment variables
get_env: WriteVar<BTreeMap<String, String>>Get a map of env vars required to be set when running VMM tests
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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