Struct curl::Version [] [src]

pub struct Version {
    // some fields omitted
}

Version information about libcurl and the capabilities that it supports.

Methods

impl Version

fn num() -> &'static str

Returns the libcurl version that this library is currently linked against.

fn get() -> Version

Returns the libcurl version that this library is currently linked against.

fn version(&self) -> &str

Returns the human readable version string,

fn version_num(&self) -> u32

Returns a numeric representation of the version number

This is a 24 bit number made up of the major number, minor, and then patch number. For example 7.9.8 willr eturn 0x070908.

fn host(&self) -> &str

Returns a human readable string of the host libcurl is built for.

This is discovered as part of the build environment.

fn feature_ipv6(&self) -> bool

Returns whether libcurl supports IPv6

fn feature_ssl(&self) -> bool

Returns whether libcurl supports SSL

fn feature_libz(&self) -> bool

Returns whether libcurl supports HTTP deflate via libz

fn feature_ntlm(&self) -> bool

Returns whether libcurl supports HTTP NTLM

fn feature_gss_negotiate(&self) -> bool

Returns whether libcurl supports HTTP GSSNEGOTIATE

fn feature_debug(&self) -> bool

Returns whether libcurl was built with debug capabilities

fn feature_spnego(&self) -> bool

Returns whether libcurl was built with SPNEGO authentication

fn feature_largefile(&self) -> bool

Returns whether libcurl was built with large file support

fn feature_idn(&self) -> bool

Returns whether libcurl was built with support for IDNA, domain names with international letters.

fn feature_sspi(&self) -> bool

Returns whether libcurl was built with support for SSPI.

fn feature_async_dns(&self) -> bool

Returns whether libcurl was built with asynchronous name lookups.

fn feature_conv(&self) -> bool

Returns whether libcurl was built with support for character conversions.

fn feature_tlsauth_srp(&self) -> bool

Returns whether libcurl was built with support for TLS-SRP.

fn feature_ntlm_wb(&self) -> bool

Returns whether libcurl was built with support for NTLM delegation to winbind helper.

fn ssl_version(&self) -> Option<&str>

Returns the version of OpenSSL that is used, or None if there is no SSL support.

fn libz_version(&self) -> Option<&str>

Returns the version of libz that is used, or None if there is no libz support.

fn protocols(&self) -> Protocols

Returns an iterator over the list of protocols that this build of libcurl supports.

fn ares_version(&self) -> Option<&str>

If available, the human readable version of ares that libcurl is linked against.

fn ares_version_num(&self) -> Option<u32>

If available, the version of ares that libcurl is linked against.

fn libidn_version(&self) -> Option<&str>

If available, the version of libidn that libcurl is linked against.

fn iconv_version_num(&self) -> Option<u32>

If available, the version of iconv libcurl is linked against.

fn libssh_version(&self) -> Option<&str>

If available, the version of iconv libcurl is linked against.

Trait Implementations

impl Send for Version

impl Sync for Version