Struct sasl2_sys::saslplug::sasl_client_params
source · [−]#[repr(C)]pub struct sasl_client_params {Show 25 fields
pub service: *const c_char,
pub serverFQDN: *const c_char,
pub clientFQDN: *const c_char,
pub utils: *const sasl_utils_t,
pub prompt_supp: *const sasl_callback_t,
pub iplocalport: *const c_char,
pub ipremoteport: *const c_char,
pub servicelen: c_uint,
pub slen: c_uint,
pub clen: c_uint,
pub iploclen: c_uint,
pub ipremlen: c_uint,
pub props: sasl_security_properties_t,
pub external_ssf: sasl_ssf_t,
pub gss_creds: *const c_void,
pub cbinding: *const sasl_channel_binding_t,
pub http_request: *const sasl_http_request_t,
pub spare_ptr4: *mut c_void,
pub canon_user: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, in_: *const c_char, len: c_uint, flags: c_uint, oparams: *mut sasl_out_params_t) -> c_int>,
pub spare_fptr1: Option<unsafe extern "C" fn() -> c_int>,
pub cbindingdisp: c_uint,
pub spare_int2: c_int,
pub spare_int3: c_int,
pub flags: c_uint,
pub param_version: c_int,
}
Fields
service: *const c_char
serverFQDN: *const c_char
clientFQDN: *const c_char
utils: *const sasl_utils_t
prompt_supp: *const sasl_callback_t
iplocalport: *const c_char
ipremoteport: *const c_char
servicelen: c_uint
slen: c_uint
clen: c_uint
iploclen: c_uint
ipremlen: c_uint
props: sasl_security_properties_t
external_ssf: sasl_ssf_t
gss_creds: *const c_void
cbinding: *const sasl_channel_binding_t
http_request: *const sasl_http_request_t
spare_ptr4: *mut c_void
canon_user: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, in_: *const c_char, len: c_uint, flags: c_uint, oparams: *mut sasl_out_params_t) -> c_int>
spare_fptr1: Option<unsafe extern "C" fn() -> c_int>
cbindingdisp: c_uint
spare_int2: c_int
spare_int3: c_int
flags: c_uint
param_version: c_int
Trait Implementations
sourceimpl Clone for sasl_client_params
impl Clone for sasl_client_params
sourcefn clone(&self) -> sasl_client_params
fn clone(&self) -> sasl_client_params
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for sasl_client_params
Auto Trait Implementations
impl RefUnwindSafe for sasl_client_params
impl !Send for sasl_client_params
impl !Sync for sasl_client_params
impl Unpin for sasl_client_params
impl UnwindSafe for sasl_client_params
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more