[][src]Trait dockertest::waitfor::WaitFor

pub trait WaitFor {
    fn wait_for_ready(
        &self,
        container: Container
    ) -> Box<dyn Future<Item = Container, Error = Error>>; }

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>>

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.

Loading content...

Implementors

impl WaitFor for ExitedWait[src]

impl WaitFor for MessageWait[src]

impl WaitFor for NoWait[src]

impl WaitFor for RunningWait[src]

Loading content...