[][src]Struct sasl2_sys::saslplug::sasl_server_params

#[repr(C)]pub struct sasl_server_params {
    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_charappname: *const c_charserverFQDN: *const c_charuser_realm: *const c_chariplocalport: *const c_charipremoteport: *const c_charservicelen: c_uintapplen: c_uintslen: c_uinturlen: c_uintiploclen: c_uintipremlen: c_uintlog_level: c_intutils: *const sasl_utils_tcallbacks: *const sasl_callback_tprops: sasl_security_properties_texternal_ssf: sasl_ssf_ttransition: 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 propctxgss_creds: *const c_voidcbinding: *const sasl_channel_binding_thttp_request: *const sasl_http_request_tspare_ptr4: *mut c_voidspare_fptr1: Option<unsafe extern "C" fn() -> c_int>spare_fptr2: Option<unsafe extern "C" fn() -> c_int>spare_int1: c_intspare_int2: c_intspare_int3: c_intflags: c_uintparam_version: c_int

Trait Implementations

impl Clone for sasl_server_params[src]

impl Copy for sasl_server_params[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.