pub struct ConfigManager { /* private fields */ }Expand description
Adapter to maintain compatibility with the old ConfigManager interface
Implementations§
Source§impl ConfigManager
impl ConfigManager
pub fn new() -> Result<Self>
pub fn get_effective_config(&self, workspace: &Path) -> EffectiveConfig
pub fn get_command_override( &self, workspace: &Path, key: &str, ) -> Option<CommandOverride>
pub fn set_command_override( &mut self, workspace: &Path, key: String, override_config: CommandOverride, ) -> Result<()>
pub fn set_command_override_from_input( &mut self, workspace: &Path, key: String, command: &str, input: &str, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for ConfigManager
impl RefUnwindSafe for ConfigManager
impl Send for ConfigManager
impl Sync for ConfigManager
impl Unpin for ConfigManager
impl UnsafeUnpin for ConfigManager
impl UnwindSafe for ConfigManager
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