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§

source§

impl Clone for sasl_client_params

source§

fn clone(&self) -> sasl_client_params

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for sasl_client_params

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.