#[non_exhaustive]pub enum UrgentMessageKind {
Terminate,
Interrupt,
Abort,
}Expand description
A reserved WSTP urgent message code value.
See the details section of
WSGetMessage()
for more information on WSTP urgent message types.
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.
Implementations§
Trait Implementations§
Source§impl Clone for UrgentMessageKind
impl Clone for UrgentMessageKind
Source§fn clone(&self) -> UrgentMessageKind
fn clone(&self) -> UrgentMessageKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UrgentMessageKind
impl Debug for UrgentMessageKind
Source§impl PartialEq for UrgentMessageKind
impl PartialEq for UrgentMessageKind
impl StructuralPartialEq for UrgentMessageKind
Auto Trait Implementations§
impl Freeze for UrgentMessageKind
impl RefUnwindSafe for UrgentMessageKind
impl Send for UrgentMessageKind
impl Sync for UrgentMessageKind
impl Unpin for UrgentMessageKind
impl UnsafeUnpin for UrgentMessageKind
impl UnwindSafe for UrgentMessageKind
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