pub struct PetriParams {
pub disable_remote_artifacts: bool,
pub reuse_prepped_vhds: bool,
pub require_2mb_hugetlb: bool,
}Fields§
§disable_remote_artifacts: boolDisable lazy remote artifact fetching (set PETRI_REMOTE_ARTIFACTS=0). Should be true in CI where all images are pre-downloaded.
reuse_prepped_vhds: boolWhether to reuse VHDs created with prep_steps
require_2mb_hugetlb: boolTell petri to expect 2mb hugetlb support
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PetriParams
impl<'de> Deserialize<'de> for PetriParams
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 PetriParams
impl RefUnwindSafe for PetriParams
impl Send for PetriParams
impl Sync for PetriParams
impl Unpin for PetriParams
impl UnsafeUnpin for PetriParams
impl UnwindSafe for PetriParams
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