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: UrlThis is supported on crate feature
tls only.TCP/TLS
Fields of EncryptedTcp
client: Client<HttpsConnector<HttpConnector>>host: UrlThis is supported on Unix only.
A Unix domain socket
Fields of Unix
client: Client<UnixConnector>path: PathBufImplementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Transport
impl !UnwindSafe for Transport
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more