#[non_exhaustive]pub enum RecapOutcome {
Completed,
Failed,
Cancelled,
TimedOut,
Unknown(String),
}Expand description
recap/completed outcome: the terminal vocabulary, in camelCase. Open:
a server-produced result vocabulary.
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.
Completed
The recap text is delivered in text.
Failed
The side-call failed; reason says why.
Cancelled
recap/cancel won the race.
TimedOut
The host-enforced 45s bound fired.
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 RecapOutcome
impl Clone for RecapOutcome
Source§impl Debug for RecapOutcome
impl Debug for RecapOutcome
Source§impl<'de> Deserialize<'de> for RecapOutcome
impl<'de> Deserialize<'de> for RecapOutcome
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 RecapOutcome
Source§impl PartialEq for RecapOutcome
impl PartialEq for RecapOutcome
Source§impl Serialize for RecapOutcome
impl Serialize for RecapOutcome
impl StructuralPartialEq for RecapOutcome
Auto Trait Implementations§
impl Freeze for RecapOutcome
impl RefUnwindSafe for RecapOutcome
impl Send for RecapOutcome
impl Sync for RecapOutcome
impl Unpin for RecapOutcome
impl UnsafeUnpin for RecapOutcome
impl UnwindSafe for RecapOutcome
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