Struct sasl2_sys::saslplug::sasl_client_plug[][src]

#[repr(C)]
pub struct sasl_client_plug {
Show 13 fields pub mech_name: *const c_char, pub max_ssf: sasl_ssf_t, pub security_flags: c_uint, pub features: c_uint, pub required_prompts: *const c_ulong, pub glob_context: *mut c_void, pub mech_new: Option<unsafe extern "C" fn(glob_context: *mut c_void, cparams: *mut sasl_client_params_t, conn_context: *mut *mut c_void) -> c_int>, pub mech_step: Option<unsafe extern "C" fn(conn_context: *mut c_void, cparams: *mut sasl_client_params_t, serverin: *const c_char, serverinlen: c_uint, prompt_need: *mut *mut sasl_interact_t, clientout: *mut *const c_char, clientoutlen: *mut c_uint, oparams: *mut sasl_out_params_t) -> c_int>, pub mech_dispose: Option<unsafe extern "C" fn(conn_context: *mut c_void, utils: *const sasl_utils_t)>, pub mech_free: Option<unsafe extern "C" fn(glob_context: *mut c_void, utils: *const sasl_utils_t)>, pub idle: Option<unsafe extern "C" fn(glob_context: *mut c_void, conn_context: *mut c_void, cparams: *mut sasl_client_params_t) -> c_int>, pub spare_fptr1: Option<unsafe extern "C" fn() -> c_int>, pub spare_fptr2: Option<unsafe extern "C" fn() -> c_int>,
}

Fields

mech_name: *const c_charmax_ssf: sasl_ssf_tsecurity_flags: c_uintfeatures: c_uintrequired_prompts: *const c_ulongglob_context: *mut c_voidmech_new: Option<unsafe extern "C" fn(glob_context: *mut c_void, cparams: *mut sasl_client_params_t, conn_context: *mut *mut c_void) -> c_int>mech_step: Option<unsafe extern "C" fn(conn_context: *mut c_void, cparams: *mut sasl_client_params_t, serverin: *const c_char, serverinlen: c_uint, prompt_need: *mut *mut sasl_interact_t, clientout: *mut *const c_char, clientoutlen: *mut c_uint, oparams: *mut sasl_out_params_t) -> c_int>mech_dispose: Option<unsafe extern "C" fn(conn_context: *mut c_void, utils: *const sasl_utils_t)>mech_free: Option<unsafe extern "C" fn(glob_context: *mut c_void, utils: *const sasl_utils_t)>idle: Option<unsafe extern "C" fn(glob_context: *mut c_void, conn_context: *mut c_void, cparams: *mut sasl_client_params_t) -> c_int>spare_fptr1: Option<unsafe extern "C" fn() -> c_int>spare_fptr2: Option<unsafe extern "C" fn() -> c_int>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.