pub struct WaitTcp {
pub host: String,
pub port: u16,
pub timeout: Duration,
pub interval: Duration,
}Expand description
Wait for a TCP port to be open
Fields§
§host: String§port: u16§timeout: Duration§interval: DurationImplementations§
Auto Trait Implementations§
impl Freeze for WaitTcp
impl RefUnwindSafe for WaitTcp
impl Send for WaitTcp
impl Sync for WaitTcp
impl Unpin for WaitTcp
impl UnsafeUnpin for WaitTcp
impl UnwindSafe for WaitTcp
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