1 2 3 4 5 6 7 8 9 10 11
use crate::{cf, sec}; impl sec::Identity { pub fn type_id() -> cf::TypeId { unsafe { SecIdentityGetTypeID() } } } unsafe extern "C" { fn SecIdentityGetTypeID() -> cf::TypeId; }