pub struct DockerLaunchConfig { /* private fields */ }Expand description
Runtime paths and image settings used to construct a Docker sandbox command.
Implementations§
Source§impl DockerLaunchConfig
impl DockerLaunchConfig
Sourcepub fn with_image(&self, image: String) -> Self
pub fn with_image(&self, image: String) -> Self
Sourcepub fn sessions_root(&self) -> &Path
pub fn sessions_root(&self) -> &Path
Return the sessions root directory.
§Returns
Host directory containing per-workspace session directories.
Sourcepub fn skills_path(&self) -> &Path
pub fn skills_path(&self) -> &Path
Sourcepub fn with_skills_path(&self, skills_path: PathBuf) -> Self
pub fn with_skills_path(&self, skills_path: PathBuf) -> Self
Trait Implementations§
Source§impl Clone for DockerLaunchConfig
impl Clone for DockerLaunchConfig
Source§fn clone(&self) -> DockerLaunchConfig
fn clone(&self) -> DockerLaunchConfig
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 DockerLaunchConfig
impl Debug for DockerLaunchConfig
Source§impl Default for DockerLaunchConfig
impl Default for DockerLaunchConfig
impl Eq for DockerLaunchConfig
Source§impl PartialEq for DockerLaunchConfig
impl PartialEq for DockerLaunchConfig
Source§fn eq(&self, other: &DockerLaunchConfig) -> bool
fn eq(&self, other: &DockerLaunchConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DockerLaunchConfig
Auto Trait Implementations§
impl Freeze for DockerLaunchConfig
impl RefUnwindSafe for DockerLaunchConfig
impl Send for DockerLaunchConfig
impl Sync for DockerLaunchConfig
impl Unpin for DockerLaunchConfig
impl UnsafeUnpin for DockerLaunchConfig
impl UnwindSafe for DockerLaunchConfig
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.