/// Adds a runtime which depends on a `NodeChannel` (e.g., to update HTTP API of the node).
Adds a runtime which depends on a `NodeChannel` .
Adds a runtime which depends on a ` NodeChannel ` .
pub fn with_runtime_fn<T, F>(mut self, runtime_fn: F) -> Self
    where
        T: Into<RuntimeInstance>,
        F: FnOnce(&NodeChannel) -> T,
    {
        let runtime = runtime_fn(&self.channel);
        self.blockchain_builder = self.blockchain_builder.with_runtime(runtime);
        self
    }
pub fn with_runtime_fn < T , F > ( mut self , runtime_fn : F ) -> Self where T : Into < RuntimeInstance > , F : FnOnce ( & NodeChannel ) -> T , { let runtime = runtime_fn ( & self . channel ) ; self . blockchain_builder = self . blockchain_builder . with_runtime ( runtime ) ; self }
Adds a runtime which depends on a `NodeChannel` (e.g., to update HTTP API of the node).
Adds a runtime which depends on a ` NodeChannel ` ( e . g . to update HTTP API of the node ) .
mut self
runtime_fn
F