pub struct CommandHandler;Expand description
Handler for processing commands and determining actions
Implementations§
Source§impl CommandHandler
impl CommandHandler
Sourcepub fn handle_command(command: &str) -> CommandAction
pub fn handle_command(command: &str) -> CommandAction
Process a command and return the action to take
Auto Trait Implementations§
impl Freeze for CommandHandler
impl RefUnwindSafe for CommandHandler
impl Send for CommandHandler
impl Sync for CommandHandler
impl Unpin for CommandHandler
impl UnwindSafe for CommandHandler
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