#[repr(C)]pub struct cssm_upcalls {
pub malloc_func: CSSM_UPCALLS_MALLOC,
pub free_func: CSSM_UPCALLS_FREE,
pub realloc_func: CSSM_UPCALLS_REALLOC,
pub calloc_func: CSSM_UPCALLS_CALLOC,
pub CcToHandle_func: Option<unsafe extern "C-unwind" fn(CSSM_CC_HANDLE, CSSM_MODULE_HANDLE_PTR) -> CSSM_RETURN>,
pub GetModuleInfo_func: Option<unsafe extern "C-unwind" fn(CSSM_MODULE_HANDLE, CSSM_GUID_PTR, CSSM_VERSION_PTR, *mut uint32, *mut CSSM_SERVICE_TYPE, *mut CSSM_ATTACH_FLAGS, *mut CSSM_KEY_HIERARCHY, CSSM_API_MEMORY_FUNCS_PTR, CSSM_FUNC_NAME_ADDR_PTR, uint32) -> CSSM_RETURN>,
}
👎Deprecated
Available on crate features
cssmconfig
and cssmspi
and cssmtype
only.Expand description
Fields§
§malloc_func: CSSM_UPCALLS_MALLOC
👎Deprecated
§free_func: CSSM_UPCALLS_FREE
👎Deprecated
§realloc_func: CSSM_UPCALLS_REALLOC
👎Deprecated
§calloc_func: CSSM_UPCALLS_CALLOC
👎Deprecated
§CcToHandle_func: Option<unsafe extern "C-unwind" fn(CSSM_CC_HANDLE, CSSM_MODULE_HANDLE_PTR) -> CSSM_RETURN>
👎Deprecated
§GetModuleInfo_func: Option<unsafe extern "C-unwind" fn(CSSM_MODULE_HANDLE, CSSM_GUID_PTR, CSSM_VERSION_PTR, *mut uint32, *mut CSSM_SERVICE_TYPE, *mut CSSM_ATTACH_FLAGS, *mut CSSM_KEY_HIERARCHY, CSSM_API_MEMORY_FUNCS_PTR, CSSM_FUNC_NAME_ADDR_PTR, uint32) -> CSSM_RETURN>
👎Deprecated
Trait Implementations§
Source§impl Clone for cssm_upcalls
impl Clone for cssm_upcalls
Source§fn clone(&self) -> cssm_upcalls
fn clone(&self) -> cssm_upcalls
Returns a duplicate 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 moreSource§impl Debug for cssm_upcalls
impl Debug for cssm_upcalls
Source§impl Encode for cssm_upcalls
Available on crate feature objc2
only.
impl Encode for cssm_upcalls
Available on crate feature
objc2
only.Source§impl PartialEq for cssm_upcalls
impl PartialEq for cssm_upcalls
Source§impl RefEncode for cssm_upcalls
Available on crate feature objc2
only.
impl RefEncode for cssm_upcalls
Available on crate feature
objc2
only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for cssm_upcalls
impl StructuralPartialEq for cssm_upcalls
Auto Trait Implementations§
impl Freeze for cssm_upcalls
impl RefUnwindSafe for cssm_upcalls
impl Send for cssm_upcalls
impl Sync for cssm_upcalls
impl Unpin for cssm_upcalls
impl UnwindSafe for cssm_upcalls
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.