Struct sasl2_sys::saslplug::sasl_auxprop_plug
source · [−]#[repr(C)]pub struct sasl_auxprop_plug {
pub features: c_int,
pub spare_int1: c_int,
pub glob_context: *mut c_void,
pub auxprop_free: Option<unsafe extern "C" fn(glob_context: *mut c_void, utils: *const sasl_utils_t)>,
pub auxprop_lookup: Option<unsafe extern "C" fn(glob_context: *mut c_void, sparams: *mut sasl_server_params_t, flags: c_uint, user: *const c_char, ulen: c_uint) -> c_int>,
pub name: *mut c_char,
pub auxprop_store: Option<unsafe extern "C" fn(glob_context: *mut c_void, sparams: *mut sasl_server_params_t, ctx: *mut propctx, user: *const c_char, ulen: c_uint) -> c_int>,
}
Fields
features: c_int
spare_int1: c_int
glob_context: *mut c_void
auxprop_free: Option<unsafe extern "C" fn(glob_context: *mut c_void, utils: *const sasl_utils_t)>
auxprop_lookup: Option<unsafe extern "C" fn(glob_context: *mut c_void, sparams: *mut sasl_server_params_t, flags: c_uint, user: *const c_char, ulen: c_uint) -> c_int>
name: *mut c_char
auxprop_store: Option<unsafe extern "C" fn(glob_context: *mut c_void, sparams: *mut sasl_server_params_t, ctx: *mut propctx, user: *const c_char, ulen: c_uint) -> c_int>
Trait Implementations
sourceimpl Clone for sasl_auxprop_plug
impl Clone for sasl_auxprop_plug
sourcefn clone(&self) -> sasl_auxprop_plug
fn clone(&self) -> sasl_auxprop_plug
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_auxprop_plug
Auto Trait Implementations
impl RefUnwindSafe for sasl_auxprop_plug
impl !Send for sasl_auxprop_plug
impl !Sync for sasl_auxprop_plug
impl Unpin for sasl_auxprop_plug
impl UnwindSafe for sasl_auxprop_plug
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