pub struct Args {Show 14 fields
pub listen: String,
pub profile: String,
pub display: Option<DisplayMode>,
pub takeover: Takeover,
pub takeover_quality_percent: u8,
pub browser: BrowserChoice,
pub browser_bin: Option<PathBuf>,
pub token: Option<ValueSource>,
pub no_health: bool,
pub health_public: HealthPublic,
pub engine_envs: Vec<String>,
pub browser_args: Vec<String>,
pub proxy: Option<String>,
pub recent_requests_cap: usize,
}Fields§
§listen: String§profile: String§display: Option<DisplayMode>Only the no-takeover shape carries a display choice; a takeover host is headful by construction, so the registry does not accept one there.
takeover: Takeover§takeover_quality_percent: u8§browser: BrowserChoice§browser_bin: Option<PathBuf>§token: Option<ValueSource>The token this host will require of its callers, still unread: a host that keeps its token in a config file should not have to put it on argv or in the environment to start.
no_health: bool§health_public: HealthPublic§engine_envs: Vec<String>§browser_args: Vec<String>§proxy: Option<String>§recent_requests_cap: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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