#[repr(C)]
pub struct DynamicBackendConfig {Show 15 fields
pub host_override: *const u8,
pub host_override_len: u32,
pub connect_timeout_ms: u32,
pub first_byte_timeout_ms: u32,
pub between_bytes_timeout_ms: u32,
pub ssl_min_version: u32,
pub ssl_max_version: u32,
pub cert_hostname: *const u8,
pub cert_hostname_len: u32,
pub ca_cert: *const u8,
pub ca_cert_len: u32,
pub ciphers: *const u8,
pub ciphers_len: u32,
pub sni_hostname: *const u8,
pub sni_hostname_len: u32,
}
Returns the “default value” for a type.
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.