pub enum CandidateState {
New,
Validating,
Valid,
Failed,
Removed,
}
Expand description
Current state of a candidate address
Variants§
New
Newly discovered, not yet tested
Validating
Currently being validated
Valid
Successfully validated and usable
Failed
Validation failed
Removed
Removed by peer or expired
Trait Implementations§
Source§impl Clone for CandidateState
impl Clone for CandidateState
Source§fn clone(&self) -> CandidateState
fn clone(&self) -> CandidateState
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 CandidateState
impl Debug for CandidateState
Source§impl PartialEq for CandidateState
impl PartialEq for CandidateState
impl Copy for CandidateState
impl Eq for CandidateState
impl StructuralPartialEq for CandidateState
Auto Trait Implementations§
impl Freeze for CandidateState
impl RefUnwindSafe for CandidateState
impl Send for CandidateState
impl Sync for CandidateState
impl Unpin for CandidateState
impl UnwindSafe for CandidateState
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.