(&mut self, path: impl AsRef<Path>)
| 60 | } |
| 61 | |
| 62 | pub fn init(&mut self, path: impl AsRef<Path>) -> Result<()> { |
| 63 | self.connect(path)?; |
| 64 | Ok(()) |
| 65 | } |
| 66 | |
| 67 | pub fn connect(&mut self, socket_path: impl AsRef<Path>) -> Result<()> { |
| 68 | let socket_path = socket_path.as_ref(); |