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§
source§impl Clone for sasl_auxprop_plug
impl Clone for sasl_auxprop_plug
source§fn clone(&self) -> sasl_auxprop_plug
fn clone(&self) -> sasl_auxprop_plug
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for sasl_auxprop_plug
Auto Trait Implementations§
impl Freeze for sasl_auxprop_plug
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more