Struct sasl2_sys::saslplug::sasl_server_params

source ·
#[repr(C)]
pub struct sasl_server_params {
Show 31 fields pub service: *const c_char, pub appname: *const c_char, pub serverFQDN: *const c_char, pub user_realm: *const c_char, pub iplocalport: *const c_char, pub ipremoteport: *const c_char, pub servicelen: c_uint, pub applen: c_uint, pub slen: c_uint, pub urlen: c_uint, pub iploclen: c_uint, pub ipremlen: c_uint, pub log_level: c_int, pub utils: *const sasl_utils_t, pub callbacks: *const sasl_callback_t, pub props: sasl_security_properties_t, pub external_ssf: sasl_ssf_t, pub transition: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, pass: *const c_char, passlen: c_uint) -> c_int>, pub canon_user: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, user: *const c_char, ulen: c_uint, flags: c_uint, oparams: *mut sasl_out_params_t) -> c_int>, pub propctx: *mut propctx, 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 spare_fptr1: Option<unsafe extern "C" fn() -> c_int>, pub spare_fptr2: Option<unsafe extern "C" fn() -> c_int>, pub spare_int1: c_int, pub spare_int2: c_int, pub spare_int3: c_int, pub flags: c_uint, pub param_version: c_int,
}

Fields§

§service: *const c_char§appname: *const c_char§serverFQDN: *const c_char§user_realm: *const c_char§iplocalport: *const c_char§ipremoteport: *const c_char§servicelen: c_uint§applen: c_uint§slen: c_uint§urlen: c_uint§iploclen: c_uint§ipremlen: c_uint§log_level: c_int§utils: *const sasl_utils_t§callbacks: *const sasl_callback_t§props: sasl_security_properties_t§external_ssf: sasl_ssf_t§transition: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, pass: *const c_char, passlen: c_uint) -> c_int>§canon_user: Option<unsafe extern "C" fn(conn: *mut sasl_conn_t, user: *const c_char, ulen: c_uint, flags: c_uint, oparams: *mut sasl_out_params_t) -> c_int>§propctx: *mut propctx§gss_creds: *const c_void§cbinding: *const sasl_channel_binding_t§http_request: *const sasl_http_request_t§spare_ptr4: *mut c_void§spare_fptr1: Option<unsafe extern "C" fn() -> c_int>§spare_fptr2: Option<unsafe extern "C" fn() -> c_int>§spare_int1: c_int§spare_int2: c_int§spare_int3: c_int§flags: c_uint§param_version: c_int

Trait Implementations§

source§

impl Clone for sasl_server_params

source§

fn clone(&self) -> sasl_server_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_server_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.