pub struct DockerEngine {
pub docker: Docker,
}Fields§
§docker: DockerImplementations§
Source§impl DockerEngine
impl DockerEngine
pub async fn new() -> Self
pub async fn start_container<D: Database>(&self, db: D) -> Result<String>
pub async fn stop_container(&self, container_id: &str) -> Result<()>
pub async fn container_logs(&self, container_id: &str) -> Result<Vec<String>>
pub async fn container_stats(&self, container_id: &str) -> Result<Stats>
pub async fn container_info( &self, container_id: &str, ) -> Result<ContainerInspectResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for DockerEngine
impl !UnwindSafe for DockerEngine
impl Freeze for DockerEngine
impl Send for DockerEngine
impl Sync for DockerEngine
impl Unpin for DockerEngine
impl UnsafeUnpin for DockerEngine
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