pub struct DiscoveryRecord {
pub pid: u32,
pub app_name: String,
pub port: u16,
pub auth_token: String,
pub started_unix_ms: u64,
pub protocol_version: u32,
}Expand description
Per-user discovery record written by devtools-enabled targets so the DevTools launcher can list running applications without port scanning.
Fields§
§pid: u32§app_name: String§port: u16§auth_token: StringSession token; the discovery file lives in a user-only directory, and DevTools still authenticates over the socket before any data flows.
started_unix_ms: u64§protocol_version: u32Trait Implementations§
Source§impl Clone for DiscoveryRecord
impl Clone for DiscoveryRecord
Source§impl Debug for DiscoveryRecord
impl Debug for DiscoveryRecord
Source§impl<'de> Deserialize<'de> for DiscoveryRecord
impl<'de> Deserialize<'de> for DiscoveryRecord
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
Source§impl PartialEq for DiscoveryRecord
impl PartialEq for DiscoveryRecord
Source§impl Serialize for DiscoveryRecord
impl Serialize for DiscoveryRecord
impl StructuralPartialEq for DiscoveryRecord
Auto Trait Implementations§
impl Forget for DiscoveryRecord
impl Freeze for DiscoveryRecord
impl RefUnwindSafe for DiscoveryRecord
impl Send for DiscoveryRecord
impl Sync for DiscoveryRecord
impl Unpin for DiscoveryRecord
impl UnsafeUnpin for DiscoveryRecord
impl UnwindSafe for DiscoveryRecord
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