#[non_exhaustive]pub enum UserInputOutcome {
Answered,
Cancelled,
Interrupted,
Clarified,
TimedOut,
Aborted,
Unknown(String),
}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.
Answered
Cancelled
Interrupted
Clarified
TimedOut
Aborted
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for UserInputOutcome
impl Clone for UserInputOutcome
Source§impl Debug for UserInputOutcome
impl Debug for UserInputOutcome
Source§impl<'de> Deserialize<'de> for UserInputOutcome
impl<'de> Deserialize<'de> for UserInputOutcome
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UserInputOutcome
Source§impl PartialEq for UserInputOutcome
impl PartialEq for UserInputOutcome
Source§impl Serialize for UserInputOutcome
impl Serialize for UserInputOutcome
impl StructuralPartialEq for UserInputOutcome
Auto Trait Implementations§
impl Freeze for UserInputOutcome
impl RefUnwindSafe for UserInputOutcome
impl Send for UserInputOutcome
impl Sync for UserInputOutcome
impl Unpin for UserInputOutcome
impl UnsafeUnpin for UserInputOutcome
impl UnwindSafe for UserInputOutcome
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