pub enum CandidatePairState {
Waiting,
InProgress,
Succeeded,
Failed,
Cancelled,
}
Expand description
State of a candidate pair during hole punching
Variants§
Waiting
Waiting to be checked
InProgress
Currently being checked
Succeeded
Check succeeded
Failed
Check failed
Cancelled
Cancelled due to higher priority success
Trait Implementations§
Source§impl Clone for CandidatePairState
impl Clone for CandidatePairState
Source§fn clone(&self) -> CandidatePairState
fn clone(&self) -> CandidatePairState
Returns a duplicate 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 CandidatePairState
impl Debug for CandidatePairState
Source§impl PartialEq for CandidatePairState
impl PartialEq for CandidatePairState
impl Copy for CandidatePairState
impl Eq for CandidatePairState
impl StructuralPartialEq for CandidatePairState
Auto Trait Implementations§
impl Freeze for CandidatePairState
impl RefUnwindSafe for CandidatePairState
impl Send for CandidatePairState
impl Sync for CandidatePairState
impl Unpin for CandidatePairState
impl UnwindSafe for CandidatePairState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.