Enum aldrin::DiscovererEventKind
source · pub enum DiscovererEventKind {
Created,
Destroyed,
}
Expand description
Specifies whether an object was created or destroyed.
Variants§
Trait Implementations§
source§impl Clone for DiscovererEventKind
impl Clone for DiscovererEventKind
source§fn clone(&self) -> DiscovererEventKind
fn clone(&self) -> DiscovererEventKind
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 DiscovererEventKind
impl Debug for DiscovererEventKind
source§impl Hash for DiscovererEventKind
impl Hash for DiscovererEventKind
source§impl Ord for DiscovererEventKind
impl Ord for DiscovererEventKind
source§fn cmp(&self, other: &DiscovererEventKind) -> Ordering
fn cmp(&self, other: &DiscovererEventKind) -> Ordering
1.21.0 · 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 DiscovererEventKind
impl PartialEq for DiscovererEventKind
source§fn eq(&self, other: &DiscovererEventKind) -> bool
fn eq(&self, other: &DiscovererEventKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DiscovererEventKind
impl PartialOrd for DiscovererEventKind
source§fn partial_cmp(&self, other: &DiscovererEventKind) -> Option<Ordering>
fn partial_cmp(&self, other: &DiscovererEventKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DiscovererEventKind
impl Eq for DiscovererEventKind
impl StructuralPartialEq for DiscovererEventKind
Auto Trait Implementations§
impl Freeze for DiscovererEventKind
impl RefUnwindSafe for DiscovererEventKind
impl Send for DiscovererEventKind
impl Sync for DiscovererEventKind
impl Unpin for DiscovererEventKind
impl UnwindSafe for DiscovererEventKind
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