pub struct GenericImage { /* private fields */ }
๐Deprecated since 0.2.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
Implementationsยง
Sourceยงimpl GenericImage
impl GenericImage
pub fn new<S: Into<String>>(descriptor: S) -> GenericImage
๐Deprecated since 0.2.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
pub fn with_env_var<K: Into<String>, V: Into<String>>( self, key: K, value: V, ) -> Self
๐Deprecated since 0.2.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
pub fn with_wait_for(self, wait_for: WaitFor) -> Self
๐Deprecated since 0.2.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
Trait Implementationsยง
Sourceยงimpl Debug for GenericImage
impl Debug for GenericImage
Sourceยงimpl Default for GenericImage
impl Default for GenericImage
Sourceยงimpl Image for GenericImage
impl Image for GenericImage
Sourceยงtype Args = Vec<String>
type Args = Vec<String>
๐Deprecated since 0.3.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
A type representing the arguments for an Image. Read more
Sourceยงtype EnvVars = HashMap<String, String>
type EnvVars = HashMap<String, String>
๐Deprecated since 0.3.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
A type representing the environment variables for an Image. Read more
Sourceยงfn descriptor(&self) -> String
fn descriptor(&self) -> String
๐Deprecated since 0.3.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
The descriptor of the docker image. Read more
Sourceยงfn wait_until_ready<D: Docker>(&self, container: &Container<'_, D, Self>)
fn wait_until_ready<D: Docker>(&self, container: &Container<'_, D, Self>)
๐Deprecated since 0.3.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
Blocks the current thread until the started container is ready. Read more
Sourceยงfn args(&self) -> Self::Args
fn args(&self) -> Self::Args
๐Deprecated since 0.3.1: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8
Returns the arguments this instance was created with.
Auto Trait Implementationsยง
impl Freeze for GenericImage
impl RefUnwindSafe for GenericImage
impl Send for GenericImage
impl Sync for GenericImage
impl Unpin for GenericImage
impl UnwindSafe for GenericImage
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