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§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
)