pub enum CommandResult {
Success,
Error(u16),
Unhandled,
}Expand description
Result returned by AppHandler::handle_command.
Variants§
Success
Command succeeded; library will send an IM status response with status 0.
Error(u16)
Command failed with the given status code.
Unhandled
Command is not handled by this application handler.
Auto Trait Implementations§
impl Freeze for CommandResult
impl RefUnwindSafe for CommandResult
impl Send for CommandResult
impl Sync for CommandResult
impl Unpin for CommandResult
impl UnwindSafe for CommandResult
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