[−][src]Enum raftlog::cluster::ClusterState
クラスタの状態.
Variants
構成変更中ではなく安定している状態.
構成変更中で、新メンバ群のログを同期している状態.
この状態では、リーダ選出やログのコミットにおいて、投票権を有するのは旧メンバのみである.
構成変更中で、新旧メンバ群の両方に合意が必要な状態.
Methods
impl ClusterState
[src]
pub fn is_stable(self) -> bool
[src]
安定状態かどうかを判定する.
pub fn is_joint(self) -> bool
[src]
新旧混合状態かどうかを判定する.
Trait Implementations
impl Clone for ClusterState
[src]
fn clone(&self) -> ClusterState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ClusterState
[src]
impl Debug for ClusterState
[src]
impl Eq for ClusterState
[src]
impl PartialEq<ClusterState> for ClusterState
[src]
fn eq(&self, other: &ClusterState) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ClusterState
[src]
impl StructuralPartialEq for ClusterState
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClusterState
impl Send for ClusterState
impl Sync for ClusterState
impl Unpin for ClusterState
impl UnwindSafe for ClusterState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,