#[repr(i32)]pub enum BatchReplacePhase {
BATCH_REPLACE_PHASE_UNSPECIFIED = 0,
BATCH_REPLACE_PHASE_ADMITTED = 1,
BATCH_REPLACE_PHASE_WORKING = 2,
BATCH_REPLACE_PHASE_REJECTED = 3,
BATCH_REPLACE_PHASE_TERMINAL = 4,
}Expand description
BatchReplacePhase is the recoverable execution phase for one replacement.
Variants§
BATCH_REPLACE_PHASE_UNSPECIFIED = 0
Phase is unavailable.
BATCH_REPLACE_PHASE_ADMITTED = 1
The replacement was admitted and handed to execution.
BATCH_REPLACE_PHASE_WORKING = 2
The successor order is active.
BATCH_REPLACE_PHASE_REJECTED = 3
The replacement was rejected.
BATCH_REPLACE_PHASE_TERMINAL = 4
The successor reached a terminal order state.
Implementations§
Source§impl BatchReplacePhase
impl BatchReplacePhase
Sourcepub const Unspecified: Self = Self::BATCH_REPLACE_PHASE_UNSPECIFIED
pub const Unspecified: Self = Self::BATCH_REPLACE_PHASE_UNSPECIFIED
Idiomatic alias for Self::BATCH_REPLACE_PHASE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Admitted: Self = Self::BATCH_REPLACE_PHASE_ADMITTED
pub const Admitted: Self = Self::BATCH_REPLACE_PHASE_ADMITTED
Idiomatic alias for Self::BATCH_REPLACE_PHASE_ADMITTED; Debug prints the variant name.
Sourcepub const Working: Self = Self::BATCH_REPLACE_PHASE_WORKING
pub const Working: Self = Self::BATCH_REPLACE_PHASE_WORKING
Idiomatic alias for Self::BATCH_REPLACE_PHASE_WORKING; Debug prints the variant name.
Sourcepub const Rejected: Self = Self::BATCH_REPLACE_PHASE_REJECTED
pub const Rejected: Self = Self::BATCH_REPLACE_PHASE_REJECTED
Idiomatic alias for Self::BATCH_REPLACE_PHASE_REJECTED; Debug prints the variant name.
Sourcepub const Terminal: Self = Self::BATCH_REPLACE_PHASE_TERMINAL
pub const Terminal: Self = Self::BATCH_REPLACE_PHASE_TERMINAL
Idiomatic alias for Self::BATCH_REPLACE_PHASE_TERMINAL; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for BatchReplacePhase
impl Clone for BatchReplacePhase
Source§fn clone(&self) -> BatchReplacePhase
fn clone(&self) -> BatchReplacePhase
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 BatchReplacePhase
Source§impl Debug for BatchReplacePhase
impl Debug for BatchReplacePhase
Source§impl Default for BatchReplacePhase
impl Default for BatchReplacePhase
Source§impl<'de> Deserialize<'de> for BatchReplacePhase
impl<'de> Deserialize<'de> for BatchReplacePhase
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for BatchReplacePhase
impl Enumeration for BatchReplacePhase
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for BatchReplacePhase
Source§impl Hash for BatchReplacePhase
impl Hash for BatchReplacePhase
Source§impl PartialEq for BatchReplacePhase
impl PartialEq for BatchReplacePhase
Source§impl ProtoElemJson for BatchReplacePhase
impl ProtoElemJson for BatchReplacePhase
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for BatchReplacePhase
impl Serialize for BatchReplacePhase
impl StructuralPartialEq for BatchReplacePhase
Auto Trait Implementations§
impl Freeze for BatchReplacePhase
impl RefUnwindSafe for BatchReplacePhase
impl Send for BatchReplacePhase
impl Sync for BatchReplacePhase
impl Unpin for BatchReplacePhase
impl UnsafeUnpin for BatchReplacePhase
impl UnwindSafe for BatchReplacePhase
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.