pub enum ServerAdminActionError {
NotReady(&'static str),
RequiresMember(&'static str),
BackupDisabled,
RaftCompaction(RaftCompactionError),
}Expand description
Fail-loud admin action errors.
Variants§
NotReady(&'static str)
The runtime is not ready to accept the requested action.
RequiresMember(&'static str)
The action requires member mode in the current server model.
BackupDisabled
Backup cannot run without configured backup support.
RaftCompaction(RaftCompactionError)
The live grid rejected a Raft compaction request.
Trait Implementations§
Source§impl Clone for ServerAdminActionError
impl Clone for ServerAdminActionError
Source§fn clone(&self) -> ServerAdminActionError
fn clone(&self) -> ServerAdminActionError
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 moreSource§impl Debug for ServerAdminActionError
impl Debug for ServerAdminActionError
Source§impl Display for ServerAdminActionError
impl Display for ServerAdminActionError
impl Eq for ServerAdminActionError
Source§impl Error for ServerAdminActionError
impl Error for ServerAdminActionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<RaftCompactionError> for ServerAdminActionError
impl From<RaftCompactionError> for ServerAdminActionError
Source§fn from(source: RaftCompactionError) -> Self
fn from(source: RaftCompactionError) -> Self
Converts to this type from the input type.
Source§impl From<ServerAdminActionError> for AdminHttpError
impl From<ServerAdminActionError> for AdminHttpError
Source§fn from(source: ServerAdminActionError) -> Self
fn from(source: ServerAdminActionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ServerAdminActionError
impl PartialEq for ServerAdminActionError
impl StructuralPartialEq for ServerAdminActionError
Auto Trait Implementations§
impl Freeze for ServerAdminActionError
impl RefUnwindSafe for ServerAdminActionError
impl Send for ServerAdminActionError
impl Sync for ServerAdminActionError
impl Unpin for ServerAdminActionError
impl UnsafeUnpin for ServerAdminActionError
impl UnwindSafe for ServerAdminActionError
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,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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