pub enum FailoverError {
InvalidRoleTransition {
from: NodeRole,
to: NodeRole,
},
LockPoisoned,
FencingTokenRejected,
PromotionFailed(String),
}Expand description
Errors from failover operations
Variants§
Trait Implementations§
Source§impl Debug for FailoverError
impl Debug for FailoverError
Source§impl Display for FailoverError
impl Display for FailoverError
Source§impl Error for FailoverError
impl Error for FailoverError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for FailoverError
impl RefUnwindSafe for FailoverError
impl Send for FailoverError
impl Sync for FailoverError
impl Unpin for FailoverError
impl UnwindSafe for FailoverError
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