pub struct ClusterSettings {
pub node_id: NodeId,
pub listen: String,
pub seniors: Vec<(ConnectionId, String)>,
}Fields§
§node_id: NodeIdId with which this node connects to other nodes of the mesh
listen: StringAddress on which this broker is listening for mesh connections
seniors: Vec<(ConnectionId, String)>Address of clusters that this node has to initiate connection
Trait Implementations§
Source§impl Clone for ClusterSettings
impl Clone for ClusterSettings
Source§fn clone(&self) -> ClusterSettings
fn clone(&self) -> ClusterSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClusterSettings
impl Debug for ClusterSettings
Source§impl<'de> Deserialize<'de> for ClusterSettings
impl<'de> Deserialize<'de> for ClusterSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClusterSettings
impl RefUnwindSafe for ClusterSettings
impl Send for ClusterSettings
impl Sync for ClusterSettings
impl Unpin for ClusterSettings
impl UnwindSafe for ClusterSettings
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