pub struct EnvironmentMetadata {
pub os: &'static str,
pub arch: &'static str,
pub pointer_width: u32,
pub test_id: String,
pub seed: u64,
pub ports: Vec<AllocatedPort>,
pub services: Vec<String>,
}Expand description
Structured metadata about the test environment.
Fields§
§os: &'static strOperating system.
arch: &'static strCPU architecture.
pointer_width: u32Pointer width in bits.
test_id: StringTest identifier.
seed: u64Root seed.
ports: Vec<AllocatedPort>Allocated ports with labels.
services: Vec<String>Names of registered fixture services.
Implementations§
Trait Implementations§
Source§impl Clone for EnvironmentMetadata
impl Clone for EnvironmentMetadata
Source§fn clone(&self) -> EnvironmentMetadata
fn clone(&self) -> EnvironmentMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvironmentMetadata
impl Debug for EnvironmentMetadata
Source§impl Display for EnvironmentMetadata
impl Display for EnvironmentMetadata
Auto Trait Implementations§
impl Freeze for EnvironmentMetadata
impl RefUnwindSafe for EnvironmentMetadata
impl Send for EnvironmentMetadata
impl Sync for EnvironmentMetadata
impl Unpin for EnvironmentMetadata
impl UnwindSafe for EnvironmentMetadata
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).