pub struct Measure<'profile> {
pub names: &'profile Names,
pub profile: &'profile str,
pub image: &'profile str,
pub slice: &'profile str,
pub isolation: &'profile dyn Isolation,
}Expand description
What a measure container (image/seed.sh measure) runs on: the profile’s image, its slot 1 and the snapshot,
both read-only, and the isolation backend.
Fields§
§names: &'profile NamesWhere the profile’s volumes are.
profile: &'profile strThe profile whose slot 1 is measured.
image: &'profile strThe profile’s runner image, which holds the seed script.
slice: &'profile strThe systemd slice the measure container runs in.
isolation: &'profile dyn IsolationHow the measure container is isolated, as runners are.
Trait Implementations§
Auto Trait Implementations§
impl<'profile> !RefUnwindSafe for Measure<'profile>
impl<'profile> !UnwindSafe for Measure<'profile>
impl<'profile> Forget for Measure<'profile>
impl<'profile> Freeze for Measure<'profile>
impl<'profile> Send for Measure<'profile>
impl<'profile> Sync for Measure<'profile>
impl<'profile> Unpin for Measure<'profile>
impl<'profile> UnsafeUnpin for Measure<'profile>
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