Struct security_framework::item::ItemClass
source · pub struct ItemClass(/* private fields */);
Expand description
Specifies the type of items to search for.
Implementations§
source§impl ItemClass
impl ItemClass
sourcepub fn generic_password() -> Self
pub fn generic_password() -> Self
Look for SecKeychainItem
s corresponding to generic passwords.
sourcepub fn internet_password() -> Self
pub fn internet_password() -> Self
Look for SecKeychainItem
s corresponding to internet passwords.
sourcepub fn certificate() -> Self
pub fn certificate() -> Self
Look for SecCertificate
s.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemClass
impl RefUnwindSafe for ItemClass
impl !Send for ItemClass
impl !Sync for ItemClass
impl Unpin for ItemClass
impl UnwindSafe for ItemClass
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)