pub enum Type {
Address,
Format,
Id,
Size,
String,
}Expand description
The expected parameter type for a command argument.
This enum is used by the command registry to describe what kind of value a specific command parameter expects. It is primarily used to parse and validate user input when dispatching commands.
Variants§
Address
A numeric address in hexadecimal form (e.g. 0x400123).
Format
A formatting specifier: one of d, x, i or s.
Id
A numeric identifier (used for breakpoint ids, etc.).
Size
A numeric size value.
String
A plain string value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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