pub struct EnvironmentManager {
pub shell: Shell,
}Fields§
§shell: ShellImplementations§
Source§impl EnvironmentManager
impl EnvironmentManager
pub fn list_environments() -> EnvMgrResult<Vec<(bool, Environment)>>
pub fn use_environment(&self) -> EnvMgrResult<()>
pub fn switch_environment_by_key(key: &str) -> EnvMgrResult<()>
pub fn switch_base_environment() -> EnvMgrResult<()>
pub fn link_files() -> EnvMgrResult<()>
Auto Trait Implementations§
impl Freeze for EnvironmentManager
impl RefUnwindSafe for EnvironmentManager
impl Send for EnvironmentManager
impl Sync for EnvironmentManager
impl Unpin for EnvironmentManager
impl UnsafeUnpin for EnvironmentManager
impl UnwindSafe for EnvironmentManager
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