Struct jirust_cli::executors::config_executor::ConfigExecutor
source · pub struct ConfigExecutor { /* private fields */ }Expand description
ConfigExecutor struct
Implementations§
source§impl ConfigExecutor
impl ConfigExecutor
ConfigExecutor implementation
§Methods
new(cfg_file: String, config_action: ConfigActionValues) -> Self- returns a new ConfigExecutor instanceexec_config_command(cfg_data: ConfigFile) -> Result<(), Box<dyn std::error::Error>>- executes the configuration command
sourcepub fn new(cfg_file: String, config_action: ConfigActionValues) -> Self
pub fn new(cfg_file: String, config_action: ConfigActionValues) -> Self
sourcepub async fn exec_config_command(
&self,
cfg_data: ConfigFile,
) -> Result<(), Box<dyn Error>>
pub async fn exec_config_command( &self, cfg_data: ConfigFile, ) -> Result<(), Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for ConfigExecutor
impl RefUnwindSafe for ConfigExecutor
impl Send for ConfigExecutor
impl Sync for ConfigExecutor
impl Unpin for ConfigExecutor
impl UnwindSafe for ConfigExecutor
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