#[non_exhaustive]pub enum AnswId {
Cancel,
Answer,
Reserved(u8),
}Expand description
answ_id values (Table 48, p. 48).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cancel
00 — the user wishes to abort the dialogue.
Answer
01 — the object contains the user input.
Reserved(u8)
Any other value (reserved).
Implementations§
Trait Implementations§
impl Copy for AnswId
impl Eq for AnswId
impl StructuralPartialEq for AnswId
Auto Trait Implementations§
impl Freeze for AnswId
impl RefUnwindSafe for AnswId
impl Send for AnswId
impl Sync for AnswId
impl Unpin for AnswId
impl UnsafeUnpin for AnswId
impl UnwindSafe for AnswId
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