Struct paho_mqtt_sys::MQTTAsync_SSLOptions
source · #[repr(C)]pub struct MQTTAsync_SSLOptions {Show 18 fields
pub struct_id: [c_char; 4],
pub struct_version: c_int,
pub trustStore: *const c_char,
pub keyStore: *const c_char,
pub privateKey: *const c_char,
pub privateKeyPassword: *const c_char,
pub enabledCipherSuites: *const c_char,
pub enableServerCertAuth: c_int,
pub sslVersion: c_int,
pub verify: c_int,
pub CApath: *const c_char,
pub ssl_error_cb: Option<unsafe extern "C" fn(str_: *const c_char, len: usize, u: *mut c_void) -> c_int>,
pub ssl_error_context: *mut c_void,
pub ssl_psk_cb: Option<unsafe extern "C" fn(hint: *const c_char, identity: *mut c_char, max_identity_len: c_uint, psk: *mut c_uchar, max_psk_len: c_uint, u: *mut c_void) -> c_uint>,
pub ssl_psk_context: *mut c_void,
pub disableDefaultTrustStore: c_int,
pub protos: *const c_uchar,
pub protos_len: c_uint,
}
Fields§
§struct_id: [c_char; 4]
§struct_version: c_int
§trustStore: *const c_char
§keyStore: *const c_char
§privateKey: *const c_char
§privateKeyPassword: *const c_char
§enabledCipherSuites: *const c_char
§enableServerCertAuth: c_int
§sslVersion: c_int
§verify: c_int
§CApath: *const c_char
§ssl_error_cb: Option<unsafe extern "C" fn(str_: *const c_char, len: usize, u: *mut c_void) -> c_int>
§ssl_error_context: *mut c_void
§ssl_psk_cb: Option<unsafe extern "C" fn(hint: *const c_char, identity: *mut c_char, max_identity_len: c_uint, psk: *mut c_uchar, max_psk_len: c_uint, u: *mut c_void) -> c_uint>
§ssl_psk_context: *mut c_void
§disableDefaultTrustStore: c_int
§protos: *const c_uchar
§protos_len: c_uint
Trait Implementations§
source§impl Clone for MQTTAsync_SSLOptions
impl Clone for MQTTAsync_SSLOptions
source§fn clone(&self) -> MQTTAsync_SSLOptions
fn clone(&self) -> MQTTAsync_SSLOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MQTTAsync_SSLOptions
impl Debug for MQTTAsync_SSLOptions
source§impl Default for MQTTAsync_SSLOptions
impl Default for MQTTAsync_SSLOptions
source§fn default() -> MQTTAsync_SSLOptions
fn default() -> MQTTAsync_SSLOptions
Returns the “default value” for a type. Read more
impl Copy for MQTTAsync_SSLOptions
Auto Trait Implementations§
impl RefUnwindSafe for MQTTAsync_SSLOptions
impl !Send for MQTTAsync_SSLOptions
impl !Sync for MQTTAsync_SSLOptions
impl Unpin for MQTTAsync_SSLOptions
impl UnwindSafe for MQTTAsync_SSLOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more