#[non_exhaustive]pub enum HostCallWithdrawal {
TimedOut,
Cancelled,
NoHost,
HostGone,
}Expand description
Why the engine stopped waiting on a host call with no answer.
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.
TimedOut
Cancelled
NoHost
Nobody watched the session when the call was made.
HostGone
Everyone watching the session went away before anyone answered.
Trait Implementations§
Source§impl Clone for HostCallWithdrawal
impl Clone for HostCallWithdrawal
impl Copy for HostCallWithdrawal
Source§impl Debug for HostCallWithdrawal
impl Debug for HostCallWithdrawal
Source§impl<'de> Deserialize<'de> for HostCallWithdrawal
impl<'de> Deserialize<'de> for HostCallWithdrawal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HostCallWithdrawal
Source§impl From<WithdrawalReason> for HostCallWithdrawal
impl From<WithdrawalReason> for HostCallWithdrawal
Source§fn from(reason: WithdrawalReason) -> Self
fn from(reason: WithdrawalReason) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for HostCallWithdrawal
impl JsonSchema for HostCallWithdrawal
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for HostCallWithdrawal
impl PartialEq for HostCallWithdrawal
Source§impl Serialize for HostCallWithdrawal
impl Serialize for HostCallWithdrawal
impl StructuralPartialEq for HostCallWithdrawal
Auto Trait Implementations§
impl Forget for HostCallWithdrawal
impl Freeze for HostCallWithdrawal
impl Move for HostCallWithdrawal
impl RefUnwindSafe for HostCallWithdrawal
impl Send for HostCallWithdrawal
impl Sync for HostCallWithdrawal
impl Unpin for HostCallWithdrawal
impl UnsafeUnpin for HostCallWithdrawal
impl UnwindSafe for HostCallWithdrawal
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