Struct ate::conf::ConfMesh [−][src]
Configuration of a particular mesh that contains one of more chains
Fields
clusters: Vec<ConfCluster>
When running a distributed ATE datastore in a mesh configuration then one more clusters can be specified here. Each cluster represents a replication target hence scaling out clusters increasing capacity while scaling more clusters creates data replication for improved resilience. If you do not specific any clusters ATE will run in local machine mode.
force_client_only: bool
Forces ATE to act as a client even if its local IP address is one of the node machines in the clusters (normally ATE would automatically listen for connections)
force_listen: Option<MeshAddress>
Forces ATE to listen on a particular address for connections even if the address is not in the list of cluster nodes.
Implementations
impl ConfMesh
[src]
pub fn solo(addr: &str, port: u16) -> ConfMesh
[src]
Represents a single server listening on all available addresses. All chains will be stored locally to this server and there is no replication
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConfMesh
impl Send for ConfMesh
impl Sync for ConfMesh
impl Unpin for ConfMesh
impl UnwindSafe for ConfMesh
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,