pub struct EngineRuntimeStamp {
pub pid: u32,
pub endpoint: String,
pub bind_host: String,
pub public_url: Option<String>,
}Expand description
Effective runtime parameters of a spawned engine, stamped to disk so a later process that reattaches can tell how the running engine is configured without probing it over the network.
Fields§
§pid: u32§endpoint: String§bind_host: String§public_url: Option<String>Implementations§
Source§impl EngineRuntimeStamp
impl EngineRuntimeStamp
Sourcepub fn binds_loopback_only(&self) -> bool
pub fn binds_loopback_only(&self) -> bool
True if the engine bound a loopback address only, so peers on other hosts (for example a container reaching the host) cannot connect to it.
Trait Implementations§
Source§impl Clone for EngineRuntimeStamp
impl Clone for EngineRuntimeStamp
Source§fn clone(&self) -> EngineRuntimeStamp
fn clone(&self) -> EngineRuntimeStamp
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 EngineRuntimeStamp
impl Debug for EngineRuntimeStamp
Source§impl<'de> Deserialize<'de> for EngineRuntimeStamp
impl<'de> Deserialize<'de> for EngineRuntimeStamp
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 EngineRuntimeStamp
impl RefUnwindSafe for EngineRuntimeStamp
impl Send for EngineRuntimeStamp
impl Sync for EngineRuntimeStamp
impl Unpin for EngineRuntimeStamp
impl UnsafeUnpin for EngineRuntimeStamp
impl UnwindSafe for EngineRuntimeStamp
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