[−][src]Trait dockertest::waitfor::WaitFor
Trait to wait for a container to be ready for service.
Required methods
fn wait_for_ready(
&self,
container: Container
) -> Box<dyn Future<Item = Container, Error = Error>>
&self,
container: Container
) -> Box<dyn Future<Item = Container, Error = Error>>
Method implementation should return a future that resolves once the condition described by the implementing structure is fulfilled. Once this successfully resolves, the container is marked as ready.
Implementors
impl WaitFor for ExitedWait
[src]
fn wait_for_ready(
&self,
container: Container
) -> Box<dyn Future<Item = Container, Error = Error>>
[src]
&self,
container: Container
) -> Box<dyn Future<Item = Container, Error = Error>>
impl WaitFor for MessageWait
[src]
fn wait_for_ready(
&self,
container: Container
) -> Box<dyn Future<Item = Container, Error = Error>>
[src]
&self,
container: Container
) -> Box<dyn Future<Item = Container, Error = Error>>
impl WaitFor for NoWait
[src]
fn wait_for_ready(
&self,
container: Container
) -> Box<dyn Future<Item = Container, Error = Error>>
[src]
&self,
container: Container
) -> Box<dyn Future<Item = Container, Error = Error>>