Struct core::NetworkSettings
[−]pub struct NetworkSettings {
pub p2p_port: u32,
pub addr: String,
pub known_nodes: Vec<String, Global>,
}
Expand description
P2P network configuration parameters of a TAPLE node.
Fields
p2p_port: u32
P2P Port
addr: String
Multiaddr to consider by the node.
known_nodes: Vec<String, Global>
List of bootstrap nodes to connect to.
Trait Implementations
impl Clone for NetworkSettings
impl Clone for NetworkSettings
fn clone(&self) -> NetworkSettings
fn clone(&self) -> NetworkSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for NetworkSettings
impl Debug for NetworkSettings
impl<'de> Deserialize<'de> for NetworkSettings
impl<'de> Deserialize<'de> for NetworkSettings
fn deserialize<__D>(
__deserializer: __D
) -> Result<NetworkSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<NetworkSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NetworkSettings
impl Send for NetworkSettings
impl Sync for NetworkSettings
impl Unpin for NetworkSettings
impl UnwindSafe for NetworkSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more