pub struct Container { /* private fields */ }Implementations§
Source§impl Container
impl Container
pub async fn new( docker: Arc<Engine>, name: &str, arg: Arg, ) -> Result<Container, Error>
pub async fn start(&mut self) -> Result<Vec<String>, Error>
pub async fn wait(&self) -> Result<Vec<String>, Error>
pub async fn tail( &self, stderr: bool, tail: usize, ) -> Result<Vec<String>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Container
impl !RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnsafeUnpin for Container
impl !UnwindSafe for Container
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