pub struct RaftCluster<T, E, N, L, P>{
pub node: RaftNode,
pub nodes: Vec<RaftNode>,
pub logs: Vec<T>,
pub network: Addr<N>,
pub log: Addr<L>,
pub persistent: Addr<P>,
/* private fields */
}Fields§
§node: RaftNode§nodes: Vec<RaftNode>§logs: Vec<T>§network: Addr<N>§log: Addr<L>§persistent: Addr<P>Auto Trait Implementations§
impl<T, E, N, L, P> Freeze for RaftCluster<T, E, N, L, P>
impl<T, E, N, L, P> !RefUnwindSafe for RaftCluster<T, E, N, L, P>
impl<T, E, N, L, P> Send for RaftCluster<T, E, N, L, P>
impl<T, E, N, L, P> Sync for RaftCluster<T, E, N, L, P>
impl<T, E, N, L, P> Unpin for RaftCluster<T, E, N, L, P>
impl<T, E, N, L, P> UnsafeUnpin for RaftCluster<T, E, N, L, P>
impl<T, E, N, L, P> !UnwindSafe for RaftCluster<T, E, N, L, P>
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