pub struct CommandExecutor { /* private fields */ }Implementations§
Source§impl CommandExecutor
impl CommandExecutor
pub fn add_option(&mut self, option: &str)
pub fn add_option_string(&mut self, option: String)
pub fn apply_options<'a, I>(&mut self, options: I)where
I: IntoIterator<Item = CommandOption<'a>>,
pub fn exec(&self) -> ExecResult
Auto Trait Implementations§
impl Freeze for CommandExecutor
impl RefUnwindSafe for CommandExecutor
impl Send for CommandExecutor
impl Sync for CommandExecutor
impl Unpin for CommandExecutor
impl UnwindSafe for CommandExecutor
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