[][src]Function docker_client_async::opts::with_version

pub fn with_version<C: Connect + Clone + Send + Sync + 'static>(
    version: String
) -> DockerEngineClientOption<C>

with_version overrides the client version with the specified one. If an empty version is specified, the value will be ignored to allow version negotiation.