#[repr(C)]pub struct FfiControllerClientConfig {
pub endpoint: *const c_char,
pub auto_spawn: c_uchar,
pub spawn_executable: *const c_char,
pub spawn_process_mode: c_int,
pub minimum_uptime_secs: c_ulonglong,
pub idle_timeout_secs: c_ulonglong,
pub default_lease_ttl_secs: c_ulonglong,
pub connect_timeout_secs: c_ulonglong,
pub startup_timeout_secs: c_ulonglong,
pub startup_retry_interval_ms: c_ulonglong,
pub lease_renew_interval_secs: c_ulonglong,
}Expand description
Native client configuration used by hosts that prefer structured ABI calls. 供偏好结构化 ABI 调用的宿主使用的原生客户端配置。
Fields§
§endpoint: *const c_char§auto_spawn: c_uchar§spawn_executable: *const c_char§spawn_process_mode: c_int§minimum_uptime_secs: c_ulonglong§idle_timeout_secs: c_ulonglong§default_lease_ttl_secs: c_ulonglong§connect_timeout_secs: c_ulonglong§startup_timeout_secs: c_ulonglong§startup_retry_interval_ms: c_ulonglong§lease_renew_interval_secs: c_ulonglongAuto Trait Implementations§
impl Freeze for FfiControllerClientConfig
impl RefUnwindSafe for FfiControllerClientConfig
impl !Send for FfiControllerClientConfig
impl !Sync for FfiControllerClientConfig
impl Unpin for FfiControllerClientConfig
impl UnsafeUnpin for FfiControllerClientConfig
impl UnwindSafe for FfiControllerClientConfig
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