[][src]Struct raftlog::log::LogPrefix

pub struct LogPrefix {
    pub tail: LogPosition,
    pub config: ClusterConfig,
    pub snapshot: Vec<u8>,
}

ログの前半部分 (i.e., スナップショット).

Fields

tail: LogPosition

前半部分の終端位置.

"終端位置" = "前半部分に含まれない最初の位置".

config: ClusterConfig

前半部分に含まれる中で、最新の構成情報.

snapshot: Vec<u8>

前半部分に含まれるコマンド群の適用後の状態機械のスナップショット.

Trait Implementations

impl Clone for LogPrefix[src]

impl Debug for LogPrefix[src]

impl From<LogPrefix> for Log[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.