pub fn Wait<T>(options: T) -> Waitwhere
T: Into<WaitOptions>,Expand description
Wait for a condition to be met.
Returnsa a Wait struct that can be used to wait for a condition to be met.
You can pass a duration in seconds, a tuple of seconds and poll frequency in seconds,
a std::time::Duration… etc. See the from implementations of WaitOptions
struct for more details.