[−][src]Struct curl::Version
Version information about libcurl and the capabilities that it supports.
Methods
impl Version
[src]
pub fn num() -> &'static str
[src]
Returns the libcurl version that this library is currently linked against.
pub fn get() -> Version
[src]
Returns the libcurl version that this library is currently linked against.
pub fn version(&self) -> &str
[src]
Returns the human readable version string,
pub fn version_num(&self) -> u32
[src]
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.
pub fn host(&self) -> &str
[src]
Returns a human readable string of the host libcurl is built for.
This is discovered as part of the build environment.
pub fn feature_ipv6(&self) -> bool
[src]
Returns whether libcurl supports IPv6
pub fn feature_ssl(&self) -> bool
[src]
Returns whether libcurl supports SSL
pub fn feature_libz(&self) -> bool
[src]
Returns whether libcurl supports HTTP deflate via libz
pub fn feature_ntlm(&self) -> bool
[src]
Returns whether libcurl supports HTTP NTLM
pub fn feature_gss_negotiate(&self) -> bool
[src]
Returns whether libcurl supports HTTP GSSNEGOTIATE
pub fn feature_debug(&self) -> bool
[src]
Returns whether libcurl was built with debug capabilities
pub fn feature_spnego(&self) -> bool
[src]
Returns whether libcurl was built with SPNEGO authentication
pub fn feature_largefile(&self) -> bool
[src]
Returns whether libcurl was built with large file support
pub fn feature_idn(&self) -> bool
[src]
Returns whether libcurl was built with support for IDNA, domain names with international letters.
pub fn feature_sspi(&self) -> bool
[src]
Returns whether libcurl was built with support for SSPI.
pub fn feature_async_dns(&self) -> bool
[src]
Returns whether libcurl was built with asynchronous name lookups.
pub fn feature_conv(&self) -> bool
[src]
Returns whether libcurl was built with support for character conversions.
pub fn feature_tlsauth_srp(&self) -> bool
[src]
Returns whether libcurl was built with support for TLS-SRP.
pub fn feature_ntlm_wb(&self) -> bool
[src]
Returns whether libcurl was built with support for NTLM delegation to winbind helper.
pub fn feature_unix_domain_socket(&self) -> bool
[src]
Returns whether libcurl was built with support for unix domain socket
pub fn feature_http2(&self) -> bool
[src]
Returns whether libcurl was built with support for HTTP2.
pub fn ssl_version(&self) -> Option<&str>
[src]
Returns the version of OpenSSL that is used, or None if there is no SSL support.
pub fn libz_version(&self) -> Option<&str>
[src]
Returns the version of libz that is used, or None if there is no libz support.
ⓘImportant traits for Protocols<'a>pub fn protocols(&self) -> Protocols
[src]
Returns an iterator over the list of protocols that this build of libcurl supports.
pub fn ares_version(&self) -> Option<&str>
[src]
If available, the human readable version of ares that libcurl is linked against.
pub fn ares_version_num(&self) -> Option<u32>
[src]
If available, the version of ares that libcurl is linked against.
pub fn libidn_version(&self) -> Option<&str>
[src]
If available, the version of libidn that libcurl is linked against.
pub fn iconv_version_num(&self) -> Option<u32>
[src]
If available, the version of iconv libcurl is linked against.
pub fn libssh_version(&self) -> Option<&str>
[src]
If available, the version of libssh that libcurl is linked against.
pub fn brotli_version_num(&self) -> Option<u32>
[src]
If available, the version of brotli libcurl is linked against.
pub fn brotli_version(&self) -> Option<&str>
[src]
If available, the version of brotli libcurl is linked against.
pub fn nghttp2_version_num(&self) -> Option<u32>
[src]
If available, the version of nghttp2 libcurl is linked against.
pub fn nghttp2_version(&self) -> Option<&str>
[src]
If available, the version of nghttp2 libcurl is linked against.
pub fn quic_version(&self) -> Option<&str>
[src]
If available, the version of quic libcurl is linked against.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,