pub struct ServeConfig {Show 21 fields
pub version: u32,
pub endpoint: String,
pub token: Option<String>,
pub namespace: String,
pub pool_name: String,
pub engine_binary_path: Option<PathBuf>,
pub start_services: bool,
pub services_binary_path: Option<PathBuf>,
pub engine_host: Option<String>,
pub engine_port: Option<u16>,
pub engine_spawn: EngineSpawnMode,
pub engine_auto_download: bool,
pub handle_inspector_http_in_runtime: bool,
pub serverless_base_path: Option<String>,
pub serverless_package_version: String,
pub serverless_client_endpoint: Option<String>,
pub serverless_client_namespace: Option<String>,
pub serverless_client_token: Option<String>,
pub serverless_validate_endpoint: bool,
pub serverless_max_start_payload_bytes: usize,
pub serverless_cache_envoy: bool,
}Fields§
§version: u32§endpoint: String§token: Option<String>§namespace: String§pool_name: String§engine_binary_path: Option<PathBuf>§start_services: bool§services_binary_path: Option<PathBuf>§engine_host: Option<String>§engine_port: Option<u16>§engine_spawn: EngineSpawnMode§engine_auto_download: bool§handle_inspector_http_in_runtime: bool§serverless_base_path: Option<String>§serverless_package_version: String§serverless_client_endpoint: Option<String>§serverless_client_namespace: Option<String>§serverless_client_token: Option<String>§serverless_validate_endpoint: bool§serverless_max_start_payload_bytes: usize§serverless_cache_envoy: boolImplementations§
Trait Implementations§
Source§impl Clone for ServeConfig
impl Clone for ServeConfig
Source§impl Debug for ServeConfig
impl Debug for ServeConfig
Auto Trait Implementations§
impl Freeze for ServeConfig
impl RefUnwindSafe for ServeConfig
impl Send for ServeConfig
impl Sync for ServeConfig
impl Unpin for ServeConfig
impl UnsafeUnpin for ServeConfig
impl UnwindSafe for ServeConfig
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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