#[repr(C)]pub struct FfiControllerStatusSnapshot {
pub process_mode: c_int,
pub bind_addr: *mut c_char,
pub started_at_unix_ms: c_ulonglong,
pub last_request_at_unix_ms: c_ulonglong,
pub minimum_uptime_secs: c_ulonglong,
pub idle_timeout_secs: c_ulonglong,
pub default_lease_ttl_secs: c_ulonglong,
pub active_clients: c_ulonglong,
pub attached_spaces: c_ulonglong,
pub inflight_requests: c_ulonglong,
pub shutdown_candidate: c_uchar,
}Expand description
Native controller status snapshot returned by structured ABI calls. 由结构化 ABI 调用返回的原生控制器状态快照。
Fields§
§process_mode: c_int§bind_addr: *mut c_char§started_at_unix_ms: c_ulonglong§last_request_at_unix_ms: c_ulonglong§minimum_uptime_secs: c_ulonglong§idle_timeout_secs: c_ulonglong§default_lease_ttl_secs: c_ulonglong§active_clients: c_ulonglong§attached_spaces: c_ulonglong§inflight_requests: c_ulonglong§shutdown_candidate: c_ucharAuto Trait Implementations§
impl Freeze for FfiControllerStatusSnapshot
impl RefUnwindSafe for FfiControllerStatusSnapshot
impl !Send for FfiControllerStatusSnapshot
impl !Sync for FfiControllerStatusSnapshot
impl Unpin for FfiControllerStatusSnapshot
impl UnsafeUnpin for FfiControllerStatusSnapshot
impl UnwindSafe for FfiControllerStatusSnapshot
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request