pub struct Docker { /* private fields */ }Implementations§
Source§impl Docker
impl Docker
pub fn connect() -> Result<Docker>
pub fn get_networks(&mut self) -> Result<Vec<Network>>
pub fn create_network(&mut self, network: NetworkCreate) -> Result<String>
pub fn delete_network(&mut self, id_or_name: &str) -> Result<String>
pub fn get_containers(&mut self, all: bool) -> Result<Vec<Container>>
pub fn get_processes(&mut self, container: &Container) -> Result<Vec<Process>>
pub fn get_stats(&mut self, container: &Container) -> Result<Stats>
pub fn get_images(&mut self, all: bool) -> Result<Vec<Image>>
pub fn get_system_info(&mut self) -> Result<SystemInfo>
pub fn get_container_info( &mut self, container: &Container, ) -> Result<ContainerInfo>
pub fn get_filesystem_changes( &mut self, container: &Container, ) -> Result<Vec<FilesystemChange>>
pub fn ping(&mut self) -> Result<String>
pub fn get_version(&mut self) -> Result<Version>
pub fn get_events( &mut self, since: Option<String>, until: Option<String>, ) -> Result<Vec<Event>>
Auto Trait Implementations§
impl Freeze for Docker
impl RefUnwindSafe for Docker
impl Send for Docker
impl Sync for Docker
impl Unpin for Docker
impl UnsafeUnpin for Docker
impl UnwindSafe for Docker
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