#[repr(i32)]pub enum State {
Unspecified = 0,
Creating = 1,
Ready = 2,
Updating = 3,
Deleting = 4,
Repairing = 5,
Maintenance = 6,
Importing = 8,
FailingOver = 10,
}
Expand description
Represents the different states of a Redis instance.
Variants§
Unspecified = 0
Not set.
Creating = 1
Redis instance is being created.
Ready = 2
Redis instance has been created and is fully usable.
Updating = 3
Redis instance configuration is being updated. Certain kinds of updates may cause the instance to become unusable while the update is in progress.
Deleting = 4
Redis instance is being deleted.
Repairing = 5
Redis instance is being repaired and may be unusable.
Maintenance = 6
Maintenance is being performed on this Redis instance.
Importing = 8
Redis instance is importing data (availability may be affected).
FailingOver = 10
Redis instance is failing over (availability may be affected).
Implementations§
Trait Implementations§
Source§impl Ord for State
impl Ord for State
Source§impl PartialOrd for State
impl PartialOrd for State
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
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> 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