#[repr(i32)]pub enum VerificationRunState {
Unspecified = 0,
Pending = 1,
Collecting = 2,
Complete = 3,
}Expand description
Lifecycle of a verification run.
Variants§
Unspecified = 0
Pending = 1
Scheduled. The wait after the original message has not elapsed and the follow-up has not been sent.
Collecting = 2
The follow-up has been sent and answers are being collected.
Complete = 3
Collection is closed. The run either produced a reading or produced none; both are terminal, and the second is not an error.
Implementations§
Source§impl VerificationRunState
impl VerificationRunState
Sourcepub const fn is_valid(value: i32) -> bool
pub const fn is_valid(value: i32) -> bool
Returns true if value is a variant of VerificationRunState.
Sourcepub fn from_i32(value: i32) -> Option<VerificationRunState>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<VerificationRunState>
Use the TryFrom<i32> implementation instead
Converts an i32 to a VerificationRunState, or None if value is not a valid variant.
Source§impl VerificationRunState
impl VerificationRunState
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for VerificationRunState
impl Clone for VerificationRunState
Source§fn clone(&self) -> VerificationRunState
fn clone(&self) -> VerificationRunState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for VerificationRunState
Source§impl Debug for VerificationRunState
impl Debug for VerificationRunState
Source§impl Default for VerificationRunState
impl Default for VerificationRunState
Source§fn default() -> VerificationRunState
fn default() -> VerificationRunState
impl Eq for VerificationRunState
Source§impl From<VerificationRunState> for i32
impl From<VerificationRunState> for i32
Source§fn from(value: VerificationRunState) -> i32
fn from(value: VerificationRunState) -> i32
Source§impl Hash for VerificationRunState
impl Hash for VerificationRunState
Source§impl Ord for VerificationRunState
impl Ord for VerificationRunState
Source§fn cmp(&self, other: &VerificationRunState) -> Ordering
fn cmp(&self, other: &VerificationRunState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for VerificationRunState
impl PartialEq for VerificationRunState
Source§impl PartialOrd for VerificationRunState
impl PartialOrd for VerificationRunState
impl StructuralPartialEq for VerificationRunState
Source§impl TryFrom<i32> for VerificationRunState
impl TryFrom<i32> for VerificationRunState
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<VerificationRunState, UnknownEnumValue>
fn try_from(value: i32) -> Result<VerificationRunState, UnknownEnumValue>
Auto Trait Implementations§
impl Freeze for VerificationRunState
impl RefUnwindSafe for VerificationRunState
impl Send for VerificationRunState
impl Sync for VerificationRunState
impl Unpin for VerificationRunState
impl UnsafeUnpin for VerificationRunState
impl UnwindSafe for VerificationRunState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request