Enum wstp::UrgentMessageKind
source · #[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 copy of the value. Read more
1.0.0 · 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
source§fn eq(&self, other: &UrgentMessageKind) -> bool
fn eq(&self, other: &UrgentMessageKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UrgentMessageKind
Auto Trait Implementations§
impl RefUnwindSafe for UrgentMessageKind
impl Send for UrgentMessageKind
impl Sync for UrgentMessageKind
impl Unpin 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