Struct DaemonPid Copy item path Source pub struct DaemonPid {
pub schema: String ,
pub pid: u32 ,
pub bin_path: String ,
pub version: String ,
pub started_at: String ,
pub did: Option <String >,
pub relay_url: Option <String >,
}Expand description Versioned daemon pid record — the JSON form written by 0.5.11+.
Schema discriminator. Always wire-daemon-pid-v1 for now.
Absolute path of the binary that was exec’d. Catches today’s exact
bug: a stale 0.2.4 daemon process kept running under a symlink that
was repointed at 0.5.10 — wire --version says 0.5.10 but the
running daemon’s text in memory is still 0.2.4.
CARGO_PKG_VERSION captured at spawn. Compared against the CLI’s
own version on every invocation; mismatch = loud warn.
RFC3339 timestamp of spawn.
Self DID — catches multi-identity contamination (one user, two wire
identities on same host, daemon launched as wrong one). Cheap
field, expensive bug.
Relay this daemon was bound to at spawn. Catches daemon-bound-to-
old-relay-after-migration drift.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Deserialize this value from the given Serde deserializer.
Read more Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Serialize this value into the given Serde serializer.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Checks if this value is equivalent to the given key.
Read more Returns the argument unchanged.
Converts to this type from a reference to the input type.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.