#[non_exhaustive]pub enum OwnerObservation {
Absent,
CurrentProcess,
OtherProcess,
}Expand description
The durable owner-token observation relative to the inspecting process.
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.
Absent
No owner token was recorded.
CurrentProcess
The complete token matches the inspecting process.
OtherProcess
A complete, different token was recorded.
Trait Implementations§
Source§impl Clone for OwnerObservation
impl Clone for OwnerObservation
Source§fn clone(&self) -> OwnerObservation
fn clone(&self) -> OwnerObservation
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 moreimpl Copy for OwnerObservation
Source§impl Debug for OwnerObservation
impl Debug for OwnerObservation
impl Eq for OwnerObservation
Source§impl Hash for OwnerObservation
impl Hash for OwnerObservation
Source§impl Ord for OwnerObservation
impl Ord for OwnerObservation
Source§fn cmp(&self, other: &OwnerObservation) -> Ordering
fn cmp(&self, other: &OwnerObservation) -> 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 OwnerObservation
impl PartialEq for OwnerObservation
Source§impl PartialOrd for OwnerObservation
impl PartialOrd for OwnerObservation
impl StructuralPartialEq for OwnerObservation
Auto Trait Implementations§
impl Freeze for OwnerObservation
impl RefUnwindSafe for OwnerObservation
impl Send for OwnerObservation
impl Sync for OwnerObservation
impl Unpin for OwnerObservation
impl UnsafeUnpin for OwnerObservation
impl UnwindSafe for OwnerObservation
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