pub struct ConfiguredStarter {
alias: String,
timeout: Duration,
sleep: u64,
verification_mode: StartupVerificationMode,
on_fail: OnFail,
verbose: bool,
}
Fields§
§alias: String
§timeout: Duration
§sleep: u64
§verification_mode: StartupVerificationMode
§on_fail: OnFail
§verbose: bool
Implementations§
source§impl ConfiguredStarter
impl ConfiguredStarter
pub fn new(alias: impl Into<String>) -> Self
pub fn start_with_fail_in_logs( self, comms: CommunicationParams, temp_dir: Option<TestingDirectory>, expected_msg_in_logs: &str, command: Command ) -> Result<(), StartupError>
pub fn start_with_fail_in_stderr(self, command: Command, expected_msg: &str)
pub fn start_process(&self, command: &mut Command) -> Child
pub fn start_async( self, comms: CommunicationParams, temp_dir: Option<TestingDirectory>, command: Command ) -> Result<JormungandrProcess, StartupError>
pub fn start( self, params: JormungandrParams, temp_dir: Option<TestingDirectory>, command: Command ) -> Result<JormungandrProcess, StartupError>
Auto Trait Implementations§
impl RefUnwindSafe for ConfiguredStarter
impl Send for ConfiguredStarter
impl Sync for ConfiguredStarter
impl Unpin for ConfiguredStarter
impl UnwindSafe for ConfiguredStarter
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request