[][src]Struct frugalos_raft::RaftIo

pub struct RaftIo { /* fields omitted */ }

raftlog::Ioトレイトの実装.

Methods

impl RaftIo[src]

pub fn new(
    service: ServiceHandle,
    storage: Storage,
    mailer: Mailer,
    timer: Timer
) -> Result<Self>
[src]

新しいRaftIoインスタンスを生成する.

Trait Implementations

impl Drop for RaftIo[src]

impl Debug for RaftIo[src]

impl Io for RaftIo[src]

type SaveBallot = SaveBallot

ローカルノードの投票状況を保存するためのFuture.

type LoadBallot = LoadBallot

ノーカルノードの投票情報を取得ためのFuture.

type SaveLog = SaveLog

ローカルログを保存するためのFuture.

type LoadLog = LoadLog

ローカルログを取得するためのFuture.

type Timeout = Timeout

タイムアウトを表現するためのFuture.

Auto Trait Implementations

impl Send for RaftIo

impl !Sync for RaftIo

Blanket Implementations

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

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

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.

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

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

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