pub struct RuntimeOwnerMarker {
pub schema_version: u32,
pub owner: RuntimeOwnerKind,
pub lifecycle_mode: ProxyLifecycleMode,
pub service_name: String,
pub proxy_port: u16,
pub admin_port: u16,
pub pid: u32,
pub started_at_ms: u64,
pub supervisor_pid: Option<u32>,
pub note: Option<String>,
}Fields§
§schema_version: u32§owner: RuntimeOwnerKind§lifecycle_mode: ProxyLifecycleMode§service_name: String§proxy_port: u16§admin_port: u16§pid: u32§started_at_ms: u64§supervisor_pid: Option<u32>§note: Option<String>Implementations§
Source§impl RuntimeOwnerMarker
impl RuntimeOwnerMarker
pub fn new( owner: RuntimeOwnerKind, service_name: impl Into<String>, proxy_port: u16, ) -> Self
pub fn new_with_pid( owner: RuntimeOwnerKind, service_name: impl Into<String>, proxy_port: u16, pid: u32, started_at_ms: u64, ) -> Self
pub fn with_supervisor_pid(self, supervisor_pid: u32) -> Self
pub fn with_note(self, note: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for RuntimeOwnerMarker
impl Clone for RuntimeOwnerMarker
Source§fn clone(&self) -> RuntimeOwnerMarker
fn clone(&self) -> RuntimeOwnerMarker
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 RuntimeOwnerMarker
impl Debug for RuntimeOwnerMarker
Source§impl<'de> Deserialize<'de> for RuntimeOwnerMarker
impl<'de> Deserialize<'de> for RuntimeOwnerMarker
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 RuntimeOwnerMarker
impl PartialEq for RuntimeOwnerMarker
Source§fn eq(&self, other: &RuntimeOwnerMarker) -> bool
fn eq(&self, other: &RuntimeOwnerMarker) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeOwnerMarker
impl Serialize for RuntimeOwnerMarker
impl Eq for RuntimeOwnerMarker
impl StructuralPartialEq for RuntimeOwnerMarker
Auto Trait Implementations§
impl Freeze for RuntimeOwnerMarker
impl RefUnwindSafe for RuntimeOwnerMarker
impl Send for RuntimeOwnerMarker
impl Sync for RuntimeOwnerMarker
impl Unpin for RuntimeOwnerMarker
impl UnsafeUnpin for RuntimeOwnerMarker
impl UnwindSafe for RuntimeOwnerMarker
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.