pub struct InstallOptions {
pub fleet_name: String,
pub root_target: String,
pub root_build_target: String,
pub network: String,
pub ready_timeout_seconds: u64,
pub config_path: Option<String>,
}Expand description
InstallOptions
Fields§
§fleet_name: String§root_target: String§root_build_target: String§network: String§ready_timeout_seconds: u64§config_path: Option<String>Implementations§
Source§impl InstallOptions
impl InstallOptions
Sourcepub fn parse<I>(args: I) -> Result<Self, InstallCommandError>where
I: IntoIterator<Item = OsString>,
pub fn parse<I>(args: I) -> Result<Self, InstallCommandError>where
I: IntoIterator<Item = OsString>,
Parse install options from CLI arguments and environment defaults.
Sourcepub fn into_install_root_options(self) -> InstallRootOptions
pub fn into_install_root_options(self) -> InstallRootOptions
Convert parsed CLI options into host install options.
Trait Implementations§
Source§impl Clone for InstallOptions
impl Clone for InstallOptions
Source§fn clone(&self) -> InstallOptions
fn clone(&self) -> InstallOptions
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 InstallOptions
impl Debug for InstallOptions
Source§impl PartialEq for InstallOptions
impl PartialEq for InstallOptions
Source§fn eq(&self, other: &InstallOptions) -> bool
fn eq(&self, other: &InstallOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InstallOptions
impl StructuralPartialEq for InstallOptions
Auto Trait Implementations§
impl Freeze for InstallOptions
impl RefUnwindSafe for InstallOptions
impl Send for InstallOptions
impl Sync for InstallOptions
impl Unpin for InstallOptions
impl UnsafeUnpin for InstallOptions
impl UnwindSafe for InstallOptions
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