pub struct SharedStateConfig<I: SyncIOListener, D: DeterministicState> {
pub io: Arc<I>,
pub my_address: I::Address,
pub leader_address: I::Address,
pub available_peers: Vec<I::Address>,
pub initial_state: RecoverableState<D>,
pub settings: SharedStateSettings,
}Fields§
§io: Arc<I>§my_address: I::Address§leader_address: I::Address§available_peers: Vec<I::Address>§initial_state: RecoverableState<D>§settings: SharedStateSettingsAuto Trait Implementations§
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