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
Show fields
Fields of Tcp
client: Client<HttpConnector>host: UrlThis is supported on crate feature
tls only.TCP/TLS
Show fields
Fields of EncryptedTcp
client: Client<HttpsConnector<HttpConnector>>host: UrlA Unix domain socket
Show fields
Fields of Unix
client: Client<UnixConnector>path: PathBufImplementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Transportimpl !UnwindSafe for TransportBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more