pub fn client<F>(mut self, network: Network, f: F) -> Self
  where
    F: FnOnce(ClientBuilder) -> ClientBuilder,
  {
    self
      .clients
      .get_or_insert_with(HashMap::new)
      .insert(network.name(), f(ClientBuilder::new().network(network)));
    self
  }
/// Apply configuration to the IOTA Tangle client for the given `Network`.
Apply configuration to the IOTA Tangle client for the given `Network`.
Apply configuration to the IOTA Tangle client for the given ` Network ` .
pub fn client<F>(mut self, network: Network, f: F) -> Self
  where
    F: FnOnce(ClientBuilder) -> ClientBuilder,
  {
    self
      .clients
      .get_or_insert_with(HashMap::new)
      .insert(network.name(), f(ClientBuilder::new().network(network)));
    self
  }
pub fn client < F > ( mut self , network : Network , f : F ) -> Self where F : FnOnce ( ClientBuilder ) -> ClientBuilder , { self . clients . get_or_insert_with ( HashMap :: new ) . insert ( network . name ( ) , f ( ClientBuilder :: new ( ) . network ( network ) ) ) ; self }
Apply configuration to the IOTA Tangle client for the given `Network`.
Apply configuration to the IOTA Tangle client for the given ` Network ` .
mut self
network
Network
f
F
mut self
network
Network
f
F