#[repr(i32)]pub enum RoutingConfigUpdateState {
Unspecified = 0,
InProgress = 1,
Completed = 2,
}Expand description
Indicates whether a change to the Routing Config has been propagated to all relevant Task Queues and their partitions.
Variants§
Unspecified = 0
InProgress = 1
Update to the RoutingConfig is currently in progress.
Completed = 2
Update to the RoutingConfig has completed successfully.
Implementations§
Source§impl RoutingConfigUpdateState
impl RoutingConfigUpdateState
Sourcepub const fn is_valid(value: i32) -> bool
pub const fn is_valid(value: i32) -> bool
Returns true if value is a variant of RoutingConfigUpdateState.
Sourcepub fn from_i32(value: i32) -> Option<RoutingConfigUpdateState>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<RoutingConfigUpdateState>
Use the TryFrom<i32> implementation instead
Converts an i32 to a RoutingConfigUpdateState, or None if value is not a valid variant.
Source§impl RoutingConfigUpdateState
impl RoutingConfigUpdateState
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 RoutingConfigUpdateState
impl Clone for RoutingConfigUpdateState
Source§fn clone(&self) -> RoutingConfigUpdateState
fn clone(&self) -> RoutingConfigUpdateState
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 RoutingConfigUpdateState
Source§impl Debug for RoutingConfigUpdateState
impl Debug for RoutingConfigUpdateState
Source§impl Default for RoutingConfigUpdateState
impl Default for RoutingConfigUpdateState
Source§fn default() -> RoutingConfigUpdateState
fn default() -> RoutingConfigUpdateState
Returns the “default value” for a type. Read more
impl Eq for RoutingConfigUpdateState
Source§impl From<RoutingConfigUpdateState> for i32
impl From<RoutingConfigUpdateState> for i32
Source§fn from(value: RoutingConfigUpdateState) -> i32
fn from(value: RoutingConfigUpdateState) -> i32
Converts to this type from the input type.
Source§impl Hash for RoutingConfigUpdateState
impl Hash for RoutingConfigUpdateState
Source§impl Ord for RoutingConfigUpdateState
impl Ord for RoutingConfigUpdateState
Source§fn cmp(&self, other: &RoutingConfigUpdateState) -> Ordering
fn cmp(&self, other: &RoutingConfigUpdateState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RoutingConfigUpdateState
impl PartialEq for RoutingConfigUpdateState
Source§fn eq(&self, other: &RoutingConfigUpdateState) -> bool
fn eq(&self, other: &RoutingConfigUpdateState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RoutingConfigUpdateState
impl PartialOrd for RoutingConfigUpdateState
impl StructuralPartialEq for RoutingConfigUpdateState
Source§impl TryFrom<i32> for RoutingConfigUpdateState
impl TryFrom<i32> for RoutingConfigUpdateState
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<RoutingConfigUpdateState, UnknownEnumValue>
fn try_from(value: i32) -> Result<RoutingConfigUpdateState, UnknownEnumValue>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RoutingConfigUpdateState
impl RefUnwindSafe for RoutingConfigUpdateState
impl Send for RoutingConfigUpdateState
impl Sync for RoutingConfigUpdateState
impl Unpin for RoutingConfigUpdateState
impl UnsafeUnpin for RoutingConfigUpdateState
impl UnwindSafe for RoutingConfigUpdateState
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<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>
Wrap the input message
T in a tonic::Request