[−][src]Struct tempest::rt::test::TestRun
Methods
impl<SB> TestRun<SB> where
SB: SourceBuilder + Default + 'static,
<SB as SourceBuilder>::Source: Source + Default,
<SB as SourceBuilder>::Source: 'static,
[src]
SB: SourceBuilder + Default + 'static,
<SB as SourceBuilder>::Source: Source + Default,
<SB as SourceBuilder>::Source: 'static,
pub fn new(builder: fn() -> TopologyBuilder<SB>) -> Self
[src]
pub fn topology_port(self, port: u16) -> Self
[src]
Defaults to 8765
pub fn agent_port(self, port: u16) -> Self
[src]
Defaults to 7654
pub fn duration_millis(self, ms: u64) -> Self
[src]
pub fn duration_secs(self, secs: u64) -> Self
[src]
pub fn graceful_shutdown_millis(self, ms: u64) -> Self
[src]
pub fn graceful_shutdown_secs(self, secs: u64) -> Self
[src]
pub fn metric_target(self, target: Vec<MetricTarget>) -> Self
[src]
pub fn run(self) -> TestMetrics
[src]
Auto Trait Implementations
impl<SB> Send for TestRun<SB>
impl<SB> Unpin for TestRun<SB>
impl<SB> Sync for TestRun<SB>
impl<SB> UnwindSafe for TestRun<SB>
impl<SB> RefUnwindSafe for TestRun<SB>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Wfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut W
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,