pub enum CommandStatus<'gc, 'a, C: CustomTypes<S>, S: System<C>> {
Handled,
UseDefault {
key: S::CommandKey,
command: Command<'gc, 'a, C, S>,
},
}
Expand description
The status of a potentially-handled command.
Variants§
Handled
The command was handled by the overriding client.
UseDefault
The command was not handled by the overriding client, and the default system implementation should be used instead.
Auto Trait Implementations§
impl<'gc, 'a, C, S> Freeze for CommandStatus<'gc, 'a, C, S>
impl<'gc, 'a, C, S> !RefUnwindSafe for CommandStatus<'gc, 'a, C, S>
impl<'gc, 'a, C, S> !Send for CommandStatus<'gc, 'a, C, S>
impl<'gc, 'a, C, S> !Sync for CommandStatus<'gc, 'a, C, S>
impl<'gc, 'a, C, S> Unpin for CommandStatus<'gc, 'a, C, S>
impl<'gc, 'a, C, S> !UnwindSafe for CommandStatus<'gc, 'a, C, S>
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