pub struct Container<I>where
I: ToRunnableContainer,{ /* private fields */ }Expand description
A running container
It implements std::ops::Deref for the image.
When it’s dropped, by default it’s stopping the container,
but you can choose to keep alive this container by calling Container::detach
Implementations§
Source§impl<I> Container<I>where
I: ToRunnableContainer,
impl<I> Container<I>where
I: ToRunnableContainer,
Sourcepub fn id(&self) -> ContainerId
pub fn id(&self) -> ContainerId
The container id
Source§impl Container<Minio>
impl Container<Minio>
Trait Implementations§
Source§impl<I> Deref for Container<I>where
I: ToRunnableContainer,
impl<I> Deref for Container<I>where
I: ToRunnableContainer,
Source§impl<I> Display for Container<I>where
I: ToRunnableContainer,
impl<I> Display for Container<I>where
I: ToRunnableContainer,
Auto Trait Implementations§
impl<I> Freeze for Container<I>where
I: Freeze,
impl<I> RefUnwindSafe for Container<I>where
I: RefUnwindSafe,
impl<I> Send for Container<I>where
I: Send,
impl<I> Sync for Container<I>where
I: Sync,
impl<I> Unpin for Container<I>where
I: Unpin,
impl<I> UnwindSafe for Container<I>where
I: UnwindSafe,
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