pub struct Client { /* private fields */ }
Expand description
Docker client
Implementations§
Methods from Deref<Target = Docker>§
Sourcepub fn containers(&self) -> Containers<'_>
pub fn containers(&self) -> Containers<'_>
Exports an interface for interacting with docker containers
Sourcepub fn services(&self) -> Services<'_>
pub fn services(&self) -> Services<'_>
Exports an interface for interacting with docker services
pub fn networks(&self) -> Networks<'_>
pub fn volumes(&self) -> Volumes<'_>
Sourcepub async fn version(&self) -> Result<Version, Error>
pub async fn version(&self) -> Result<Version, Error>
Returns version information associated with the docker daemon
Sourcepub async fn info(&self) -> Result<Info, Error>
pub async fn info(&self) -> Result<Info, Error>
Returns information associated with the docker daemon
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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