Struct redarrow::dispatcher::Command
source · pub struct Command { /* private fields */ }
Implementations§
source§impl Command
impl Command
pub fn execute(&self, arguments: Vec<String>) -> Result<CommandResult>
pub fn execute_iter( &self, arguments: Vec<String>, tx: Sender<String>, waker: &mut Arc<Mutex<RedarrowWaker>> ) -> Result<CommandResult>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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