pub enum InstanceStateMatch {
Alive,
NotAliveDisposed,
NotAliveNoWriters,
Any,
}Expand description
Spec §7.4.8 — instance-state match.
Variants§
Alive
ALIVE only.
NotAliveDisposed
NOT_ALIVE_DISPOSED only.
NotAliveNoWriters
NOT_ALIVE_NO_WRITERS only.
Any
All.
Trait Implementations§
Source§impl Clone for InstanceStateMatch
impl Clone for InstanceStateMatch
Source§fn clone(&self) -> InstanceStateMatch
fn clone(&self) -> InstanceStateMatch
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 InstanceStateMatch
Source§impl Debug for InstanceStateMatch
impl Debug for InstanceStateMatch
impl Eq for InstanceStateMatch
Source§impl PartialEq for InstanceStateMatch
impl PartialEq for InstanceStateMatch
Source§fn eq(&self, other: &InstanceStateMatch) -> bool
fn eq(&self, other: &InstanceStateMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstanceStateMatch
Auto Trait Implementations§
impl Freeze for InstanceStateMatch
impl RefUnwindSafe for InstanceStateMatch
impl Send for InstanceStateMatch
impl Sync for InstanceStateMatch
impl Unpin for InstanceStateMatch
impl UnsafeUnpin for InstanceStateMatch
impl UnwindSafe for InstanceStateMatch
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