pub struct TestDaemonBuilder { /* private fields */ }Expand description
Configures a TestDaemon before it starts. Unset timeouts match the production daemon.
Implementations§
Source§impl TestDaemonBuilder
impl TestDaemonBuilder
pub fn gate(self, point: TestPoint, gate: &TestGate) -> Self
pub fn paused_time(self) -> Self
pub fn request_timeout(self, timeout: Duration) -> Self
pub fn diagnostics_timeout(self, timeout: Duration) -> Self
pub fn diagnostics_settle(self, settle: Duration) -> Self
pub fn spawn(self) -> Result<TestDaemon, TestDaemonError>
Auto Trait Implementations§
impl !RefUnwindSafe for TestDaemonBuilder
impl Freeze for TestDaemonBuilder
impl Send for TestDaemonBuilder
impl Sync for TestDaemonBuilder
impl Unpin for TestDaemonBuilder
impl UnsafeUnpin for TestDaemonBuilder
impl UnwindSafe for TestDaemonBuilder
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