pub async fn state(&self, id: &str) -> Result<Container> {
        let args = vec![String::from("state"), String::from(id)];
        let output = self.exec(&args).await?;
        Ok(serde_json::from_str(&output).context(JsonDeserializationError {})?)
    }
/// Get the state of a container
Get the state of a container
Get the state of a container
pub async fn state(&self, id: &str) -> Result<Container> {
        let args = vec![String::from("state"), String::from(id)];
        let output = self.exec(&args).await?;
        Ok(serde_json::from_str(&output).context(JsonDeserializationError {})?)
    }
pub async fn state ( & self , id : & str ) -> Result < Container > { let args = vec ! [ String from ( " " ) String from ( id ) ] ; let output = self . exec ( & args ) . await ? ; Ok ( serde_json :: from_str ( & output ) . context ( JsonDeserializationError { } ) ? ) }
Get the state of a container
Get the state of a container
&self
id
&str
&self
id
&str