pub struct TestEnvSpec { /* private fields */ }Expand description
A specification for a test environment
Implementations§
Source§impl TestEnvSpec
impl TestEnvSpec
Sourcepub fn builder() -> TestEnvSpecBuilder<((), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> TestEnvSpecBuilder<((), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building TestEnvSpec.
On the builder, call .cargo_target_tmpdir(...), .name(...), .packages(...)(optional), .nonrepo_packages(...)(optional), .files(...)(optional), .directories(...)(optional), .simics_home(...)(optional), .package_repo(...)(optional), .install_all(...)(optional), .package_crates(...)(optional), .build_simics_version(...)(optional), .run_simics_version(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of TestEnvSpec.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestEnvSpec
impl RefUnwindSafe for TestEnvSpec
impl Send for TestEnvSpec
impl Sync for TestEnvSpec
impl Unpin for TestEnvSpec
impl UnwindSafe for TestEnvSpec
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more