pub struct StartArgs {
pub foreground: bool,
pub single: bool,
pub pid_file: Option<PathBuf>,
pub enable_plugins: bool,
pub json: bool,
pub control_plane_tcp: Option<String>,
pub control_plane_quic: Option<String>,
pub control_plane_tls_cert: Option<PathBuf>,
pub control_plane_tls_key: Option<PathBuf>,
pub control_plane_tls_ca: Option<PathBuf>,
pub config: Option<PathBuf>,
}Fields§
§foreground: boolRun in the foreground, blocking until the process is killed.
single: boolUse the single-core engine instead of the default multi-core engine.
pid_file: Option<PathBuf>Path to write the engine PID file (defaults to
enable_plugins: boolEnable plugin management (WASM and native).
json: boolOutput in JSON format.
control_plane_tcp: Option<String>TCP control plane listener address (enables TCP+mTLS control plane).
control_plane_quic: Option<String>QUIC control plane listener address (enables QUIC+mTLS control plane).
control_plane_tls_cert: Option<PathBuf>Server certificate for TCP/QUIC control plane (PEM).
control_plane_tls_key: Option<PathBuf>Server private key for TCP/QUIC control plane (PEM).
control_plane_tls_ca: Option<PathBuf>CA certificate for validating client certs (PEM).
config: Option<PathBuf>Path to a TOML config file. If omitted, uses PD_CONFIG when set.
Trait Implementations§
Source§impl Args for StartArgs
impl Args for StartArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for StartArgs
impl FromArgMatches for StartArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl JsonSchema for StartArgs
impl JsonSchema for StartArgs
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for StartArgs
impl RefUnwindSafe for StartArgs
impl Send for StartArgs
impl Sync for StartArgs
impl Unpin for StartArgs
impl UnsafeUnpin for StartArgs
impl UnwindSafe for StartArgs
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more