pub enum Action {
Show 16 variants
Login,
Register,
Unlock,
CheckLock,
Lock,
Sync,
Decrypt {
cipherstring: String,
entry_key: Option<String>,
org_id: Option<String>,
},
DecryptBatch {
items: Vec<DecryptItem>,
},
Encrypt {
plaintext: String,
org_id: Option<String>,
},
EncryptBatch {
items: Vec<EncryptItem>,
},
ClipboardStore {
text: String,
},
Quit,
Version,
TouchIdEnroll,
TouchIdDisable,
TouchIdStatus,
}Variants§
Login
Register
Unlock
CheckLock
Lock
Sync
Decrypt
DecryptBatch
Decrypt many cipherstrings in one IPC. Touch ID is gated once for
the whole batch; per-item failures are surfaced in results so
the caller can decide whether to fail loud or skip the bad entry.
Fields
§
items: Vec<DecryptItem>Encrypt
EncryptBatch
Encrypt many plaintexts in one IPC. Touch ID is gated once for the
whole batch; per-item failures are surfaced in results so the
caller can decide whether to fail loud or skip the bad item.
Fields
§
items: Vec<EncryptItem>ClipboardStore
Quit
Version
TouchIdEnroll
Enroll the currently-unlocked vault keys under a Touch ID-gated Keychain wrapper key. Requires the agent to already be unlocked.
TouchIdDisable
Remove the Keychain wrapper key and the on-disk enrollment blob.
TouchIdStatus
Report whether Touch ID enrollment is active and summarise the
current touchid_gate setting.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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