Struct sn_routing::Config [−][src]
pub struct Config { pub first: bool, pub keypair: Option<Keypair>, pub transport_config: TransportConfig, }
Routing configuration.
Fields
first: bool
If true, configures the node to start a new network instead of joining an existing one.
keypair: Option<Keypair>
The Keypair
of the node or None
for randomly generated one.
transport_config: TransportConfig
Configuration for the underlying network transport.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,