Trait openraft::Wrapper

source ·
pub trait Wrapper<C, T>where
    C: RaftTypeConfig,
    T: RaftStorage<C>,{
    // Required method
    fn inner(&mut self) -> &mut T;
}
Expand description

A wrapper extends the APIs of a base RaftStore.

Required Methods§

source

fn inner(&mut self) -> &mut T

Implementors§

source§

impl<C, T> Wrapper<C, T> for StoreExt<C, T>where C: RaftTypeConfig, T: RaftStorage<C>,