Creates a Reth builder which will execute `reth` at the given path. # Example ``` use summit_types::reth::Reth; # fn a() { let reth = Reth::at("../reth/target/release/reth").spawn(); println!("Reth running at `{}`", reth.endpoint()); # } ```
(path: impl Into<PathBuf>)
| 308 | /// # } |
| 309 | /// ``` |
| 310 | pub fn at(path: impl Into<PathBuf>) -> Self { |
| 311 | Self::new().path(path) |
| 312 | } |
| 313 | |
| 314 | /// Sets the `path` to the `reth` executable |
| 315 | /// |