Enum docker_api::conn::Transport [−][src]
pub enum Transport { Tcp { client: Client<HttpConnector>, host: Url, }, EncryptedTcp { client: Client<HttpsConnector<HttpConnector>>, host: Url, }, Unix { client: Client<UnixConnector>, path: PathBuf, }, }
Expand description
Transports are types which define the means of communication with the docker daemon
Variants
A network tcp interface
Fields of Tcp
client: Client<HttpConnector>
host: Url
This is supported on crate feature
tls
only.TCP/TLS
Fields of EncryptedTcp
client: Client<HttpsConnector<HttpConnector>>
host: Url
A Unix domain socket
Fields of Unix
client: Client<UnixConnector>
path: PathBuf
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Transport
impl !UnwindSafe for Transport
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more