pub enum EventStatus {
Pending,
Emitted,
Received,
Handled,
Ignored,
Failed,
}Variants§
Implementations§
Source§impl EventStatus
impl EventStatus
pub const fn as_str(self) -> &'static str
pub const fn is_terminal(self) -> bool
pub const fn is_failure(self) -> bool
Trait Implementations§
Source§impl Clone for EventStatus
impl Clone for EventStatus
Source§fn clone(&self) -> EventStatus
fn clone(&self) -> EventStatus
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 EventStatus
impl Debug for EventStatus
Source§impl Default for EventStatus
impl Default for EventStatus
Source§fn default() -> EventStatus
fn default() -> EventStatus
Returns the “default value” for a type. Read more
Source§impl Display for EventStatus
impl Display for EventStatus
Source§impl Hash for EventStatus
impl Hash for EventStatus
Source§impl Ord for EventStatus
impl Ord for EventStatus
Source§fn cmp(&self, other: &EventStatus) -> Ordering
fn cmp(&self, other: &EventStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EventStatus
impl PartialEq for EventStatus
Source§fn eq(&self, other: &EventStatus) -> bool
fn eq(&self, other: &EventStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EventStatus
impl PartialOrd for EventStatus
impl Copy for EventStatus
impl Eq for EventStatus
impl StructuralPartialEq for EventStatus
Auto Trait Implementations§
impl Freeze for EventStatus
impl RefUnwindSafe for EventStatus
impl Send for EventStatus
impl Sync for EventStatus
impl Unpin for EventStatus
impl UnsafeUnpin for EventStatus
impl UnwindSafe for EventStatus
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