pub struct DefaultDockerClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for DefaultDockerClient
impl Clone for DefaultDockerClient
Source§fn clone(&self) -> DefaultDockerClient
fn clone(&self) -> DefaultDockerClient
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DefaultDockerClient
impl Default for DefaultDockerClient
Source§impl DockerClient for DefaultDockerClient
impl DockerClient for DefaultDockerClient
fn create_container<'life0, 'async_trait>(
&'life0 self,
options: Option<CreateContainerOptions<String>>,
config: Config<String>,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn start_container<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn wait_container<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<i64, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn logs<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
options: Option<LogsOptions<String>>,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn logs_stream<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
options: Option<LogsOptions<String>>,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Stream<Item = Result<String, String>> + Send + Unpin>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_container<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
options: Option<RemoveContainerOptions>,
) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_network<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn network_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<bool, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn build_image<'life0, 'async_trait>(
&'life0 self,
options: BuildImageOptions<String>,
tar_archive: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Stream<Item = Result<String, String>> + Send + Unpin>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn build_image<'life0, 'async_trait>(
&'life0 self,
options: BuildImageOptions<String>,
tar_archive: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Stream<Item = Result<String, String>> + Send + Unpin>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Build a Docker image from a tar archive containing a Dockerfile and associated files with streaming output Read more
Auto Trait Implementations§
impl Freeze for DefaultDockerClient
impl !RefUnwindSafe for DefaultDockerClient
impl Send for DefaultDockerClient
impl Sync for DefaultDockerClient
impl Unpin for DefaultDockerClient
impl !UnwindSafe for DefaultDockerClient
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