pub struct RunConfig { /* private fields */ }Expand description
Run configuration derived from CLI arguments.
Implementations§
Source§impl RunConfig
impl RunConfig
Sourcepub fn new(
provider_name: String,
workspace_path: PathBuf,
provider_database_path: PathBuf,
image_override: Option<String>,
docker_launch_config: DockerLaunchConfig,
) -> Self
pub fn new( provider_name: String, workspace_path: PathBuf, provider_database_path: PathBuf, image_override: Option<String>, docker_launch_config: DockerLaunchConfig, ) -> Self
Create run configuration.
§Arguments
provider_name- Provider name selected by the user.workspace_path- Path to the workspace manifest YAML file.provider_database_path- Path to the local provider configuration database.image_override- Optional CLI-selected image for this launch.docker_launch_config- Docker image and sessions-root settings.
§Returns
A run configuration value.
Sourcepub fn provider_name(&self) -> &str
pub fn provider_name(&self) -> &str
Sourcepub fn workspace_path(&self) -> &Path
pub fn workspace_path(&self) -> &Path
Sourcepub fn provider_database_path(&self) -> &Path
pub fn provider_database_path(&self) -> &Path
Sourcepub fn docker_launch_config(&self) -> &DockerLaunchConfig
pub fn docker_launch_config(&self) -> &DockerLaunchConfig
Trait Implementations§
impl Eq for RunConfig
impl StructuralPartialEq for RunConfig
Auto Trait Implementations§
impl Freeze for RunConfig
impl RefUnwindSafe for RunConfig
impl Send for RunConfig
impl Sync for RunConfig
impl Unpin for RunConfig
impl UnsafeUnpin for RunConfig
impl UnwindSafe for RunConfig
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.