pub enum UserClientNotification {
Show 14 variants
Listening {},
HandshakeStart {},
HandshakeProgress {
message: String,
},
HandshakeComplete {},
HandshakeFingerprint {
fingerprint: String,
identity: IdentityFingerprint,
},
FingerprintVerified {},
FingerprintRejected {
reason: String,
},
CredentialApproved {
domain: Option<String>,
credential_id: Option<String>,
},
CredentialDenied {
domain: Option<String>,
credential_id: Option<String>,
},
SessionRefreshed {
fingerprint: IdentityFingerprint,
},
ClientDisconnected {},
Reconnecting {
attempt: u32,
},
Reconnected {},
Error {
message: String,
context: Option<String>,
},
}Expand description
Fire-and-forget status updates emitted by the user client.
Variants§
Listening
Started listening for connections
HandshakeStart
Noise handshake started
HandshakeProgress
Noise handshake progress
HandshakeComplete
Noise handshake complete
HandshakeFingerprint
Handshake fingerprint (informational, for PSK connections)
Fields
§
identity: IdentityFingerprintThe remote device’s stable identity fingerprint
FingerprintVerified
Fingerprint was verified and connection accepted
FingerprintRejected
Fingerprint was rejected and connection discarded
CredentialApproved
Credential was approved and sent
Fields
CredentialDenied
Credential was denied
Fields
SessionRefreshed
A known/cached device reconnected — transport keys refreshed, no re-verification needed
Fields
§
fingerprint: IdentityFingerprintThe remote device’s identity fingerprint
ClientDisconnected
Client disconnected from proxy
Reconnecting
Attempting to reconnect to proxy
Reconnected
Successfully reconnected to proxy
Error
An error occurred
Trait Implementations§
Source§impl Clone for UserClientNotification
impl Clone for UserClientNotification
Source§fn clone(&self) -> UserClientNotification
fn clone(&self) -> UserClientNotification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UserClientNotification
impl RefUnwindSafe for UserClientNotification
impl Send for UserClientNotification
impl Sync for UserClientNotification
impl Unpin for UserClientNotification
impl UnsafeUnpin for UserClientNotification
impl UnwindSafe for UserClientNotification
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