()
| 87 | |
| 88 | impl EdgeManager { |
| 89 | pub fn new() -> Result<Box<Self>, Error> { |
| 90 | Self::new_with_name(EDGE_NAMES[0].to_string()) |
| 91 | } |
| 92 | |
| 93 | pub fn new_with_name(browser_name: String) -> Result<Box<Self>, Error> { |
| 94 | let static_browser_name: &str = Box::leak(browser_name.into_boxed_str()); |