pub struct CalibrateServeArgs {
pub http_port: u16,
pub http_bind: String,
pub udp_port: u16,
pub udp_bind: String,
pub tier: String,
pub output_dir: String,
pub token: Option<String>,
}Expand description
Arguments for the calibrate-serve subcommand.
Fields§
§http_port: u16TCP port for the HTTP API.
http_bind: StringBind address for the HTTP API. Default 127.0.0.1 (localhost only); use 0.0.0.0 to expose the API to the LAN for a remote UI.
udp_port: u16UDP port to receive CSI frames from the ESP32 (must match provisioned target-port).
udp_bind: StringBind address for the UDP CSI socket.
tier: StringDefault PHY tier when a start request omits one (ht20 / ht40 / he20 / he40).
output_dir: StringDirectory where finalized baseline .bin files are written.
token: Option<String>Require Authorization: Bearer <token> on every API request. Strongly
recommended before binding to anything other than 127.0.0.1.
Trait Implementations§
Source§impl Args for CalibrateServeArgs
impl Args for CalibrateServeArgs
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 Clone for CalibrateServeArgs
impl Clone for CalibrateServeArgs
Source§fn clone(&self) -> CalibrateServeArgs
fn clone(&self) -> CalibrateServeArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CalibrateServeArgs
impl Debug for CalibrateServeArgs
Source§impl FromArgMatches for CalibrateServeArgs
impl FromArgMatches for CalibrateServeArgs
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.Auto Trait Implementations§
impl Freeze for CalibrateServeArgs
impl RefUnwindSafe for CalibrateServeArgs
impl Send for CalibrateServeArgs
impl Sync for CalibrateServeArgs
impl Unpin for CalibrateServeArgs
impl UnsafeUnpin for CalibrateServeArgs
impl UnwindSafe for CalibrateServeArgs
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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> 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