Struct curl::Version

source ·
pub struct Version { /* private fields */ }
Expand description

Version information about libcurl and the capabilities that it supports.

Implementations§

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

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

Returns the human readable version string,

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 will return 0x070908.

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

This is discovered as part of the build environment.

Returns whether libcurl supports IPv6

Returns whether libcurl supports SSL

Returns whether libcurl supports HTTP deflate via libz

Returns whether libcurl supports HTTP NTLM

Returns whether libcurl supports HTTP GSSNEGOTIATE

Returns whether libcurl was built with debug capabilities

Returns whether libcurl was built with SPNEGO authentication

Returns whether libcurl was built with large file support

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

Returns whether libcurl was built with support for SSPI.

Returns whether libcurl was built with asynchronous name lookups.

Returns whether libcurl was built with support for character conversions.

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

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

Returns whether libcurl was built with support for unix domain socket

Returns whether libcurl was built with support for HTTP2.

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

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

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

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

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

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

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

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

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

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

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.