pub enum ItemUpdateValue {
Ref(AddRef),
Data(CFData),
}
Expand description
Value of an item to update in the keychain.
Variants§
Ref(AddRef)
Pass item by Ref (kSecValueRef)
Data(CFData)
Pass item by Data (kSecValueData)
Note that if the ItemClass
of the updated data is different to the original data
stored in the keychain, it should be specified using ItemUpdateOptions::set_class
.
Auto Trait Implementations§
impl Freeze for ItemUpdateValue
impl RefUnwindSafe for ItemUpdateValue
impl !Send for ItemUpdateValue
impl !Sync for ItemUpdateValue
impl Unpin for ItemUpdateValue
impl UnwindSafe for ItemUpdateValue
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