pub struct Info {
pub protocol_version: u32,
pub sail_version: String,
pub pid: u32,
pub uptime_secs: u64,
pub socket: String,
pub cache_root: String,
pub log: Option<String>,
pub idle_timeout_secs: u64,
pub memory: MemoryInfo,
pub queue: QueueInfo,
pub shared: Option<SharedInfo>,
pub bundled: Option<String>,
}Expand description
The daemon’s configuration and state (the INFO operation).
Fields§
§protocol_version: u32The daemon’s protocol version (PROTOCOL_VERSION).
sail_version: StringThe daemon’s sail version.
pid: u32The daemon’s process id.
uptime_secs: u64Seconds since the daemon started.
socket: StringThe socket it serves.
cache_root: StringThe cache root it serves.
log: Option<String>Its log file, if it has one.
idle_timeout_secs: u64Seconds without connections after which it stops (0: never).
memory: MemoryInfoThe in-memory tier.
queue: QueueInfoThe write-behind queue.
The shared tier, if one is configured (ADR 0017).
bundled: Option<String>The release’s bundled replies, if this installation ships them (ADR 0062): the pack, and whether it is loading, used or refused.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
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
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Forget for Info
impl Freeze for Info
impl Move for Info
impl RefUnwindSafe for Info
impl Send for Infowhere
RawVecInner: Send,
impl Sync for Infowhere
RawVecInner: Sync,
impl Unpin for Info
impl UnsafeUnpin for Infowhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Infowhere
RawVecInner: UnwindSafe,
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