pub enum IpcMessage {
Show 25 variants
GetCredential {
domain: String,
},
GetExternalSecret {
client_id: String,
domain: String,
field: ExternalSecretField,
purpose: Option<String>,
},
GetExternalSecretResponse {
value: Option<String>,
authorized: bool,
error: Option<String>,
locked: Option<bool>,
},
GetCredentialResponse {
username: Option<String>,
password: Option<String>,
title: Option<String>,
locked: Option<bool>,
},
ListDomainCredentials {
base_domain: String,
},
ListDomainCredentialsResponse {
credentials: Vec<CredentialSummary>,
locked: Option<bool>,
},
GetTotpCode {
domain: String,
},
GetTotpCodeResponse {
code: Option<String>,
seconds_remaining: Option<u32>,
locked: Option<bool>,
},
SaveCredential {
domain: String,
username: String,
password: String,
url: Option<String>,
},
SaveCredentialResponse {
success: bool,
error: Option<String>,
locked: Option<bool>,
},
SaveSecret {
client_id: String,
domain: String,
value: String,
purpose: Option<String>,
},
SaveSecretResponse {
success: bool,
locked: Option<bool>,
error: Option<String>,
},
DeleteSecret {
client_id: String,
domain: String,
},
DeleteSecretResponse {
deleted: bool,
locked: Option<bool>,
error: Option<String>,
},
UnlockVault {
master_password: String,
},
UnlockVaultBiometric {
prompt_reason: Option<String>,
},
UnlockVaultResponse {
success: bool,
error: Option<String>,
},
CheckVault,
VaultStatusResponse {
unlocked: bool,
key_epoch: i64,
},
LockVault,
Shutdown,
SyncNow,
SyncNowResponse {
success: bool,
pushed: u64,
pulled: u64,
error: Option<String>,
},
SyncStatus,
SyncStatusResponse {
enabled: bool,
device_id: Option<String>,
device_name: Option<String>,
relay_url: Option<String>,
last_sync_at: Option<i64>,
pending_changes: u64,
},
}Expand description
IPC message types
Variants§
GetCredential
GetExternalSecret
GetExternalSecretResponse
Fields
GetCredentialResponse
ListDomainCredentials
ListDomainCredentialsResponse
GetTotpCode
GetTotpCodeResponse
SaveCredential
SaveCredentialResponse
SaveSecret
External tool writes (upserts) one secret value for one scope. Requires a token-enforced grant with allow_write.
SaveSecretResponse
DeleteSecret
Defined for protocol completeness; the daemon currently rejects deletion because third-party-created entries have no ownership tracking yet (schema v5 shipped registry ownership groundwork; the delete decision itself stays deliberately rejected per ADR-001 D1).
DeleteSecretResponse
UnlockVault
UnlockVaultBiometric
UnlockVaultResponse
CheckVault
VaultStatusResponse
Fields
LockVault
Shutdown
SyncNow
Trigger a sync cycle now (push + pull).
SyncNowResponse
Response to SyncNow.
SyncStatus
Get sync status.
SyncStatusResponse
Sync status response.
Trait Implementations§
Source§impl Clone for IpcMessage
impl Clone for IpcMessage
Source§fn clone(&self) -> IpcMessage
fn clone(&self) -> IpcMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IpcMessage
impl Debug for IpcMessage
Source§impl<'de> Deserialize<'de> for IpcMessage
impl<'de> Deserialize<'de> for IpcMessage
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 IpcMessage
impl RefUnwindSafe for IpcMessage
impl Send for IpcMessage
impl Sync for IpcMessage
impl Unpin for IpcMessage
impl UnsafeUnpin for IpcMessage
impl UnwindSafe for IpcMessage
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