Struct arti_client::config::dir::NetworkConfigBuilder
source ·
[−]pub struct NetworkConfigBuilder { /* fields omitted */ }
Expand description
Builder for NetworkConfig
.
Implementations
pub fn fallback_caches(
&mut self,
value: Vec<FallbackDir, Global>
) -> &mut NetworkConfigBuilder
pub fn fallback_caches(
&mut self,
value: Vec<FallbackDir, Global>
) -> &mut NetworkConfigBuilder
List of locations to look in when downloading directory information, if we don’t actually have a directory yet.
(If we do have a cached directory, we use directory caches listed there instead.)
This section can be changed in a running Arti client. Doing so will affect future download attempts only.
List of directory authorities which we expect to sign consensus documents.
(If none are specified, we use a default list of authorities shipped with Arti.)
This section cannot be changed in a running Arti client.
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NetworkConfigBuilder
impl Send for NetworkConfigBuilder
impl Sync for NetworkConfigBuilder
impl Unpin for NetworkConfigBuilder
impl UnwindSafe for NetworkConfigBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more