INNER CODE UNIT · Rust
confirm_pending_config
ilya-zlobintsev/LACT · lact-client/src/lib.rs:252
pub async fn confirm_pending_config(&self, command: ConfirmCommand) -> anyhow::Result<()> {
self.make_request(Request::ConfirmPendingConfig(command))
.await
}
}
impl fmt::Debug for DaemonClient {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("DaemonClient")
.field("embedded", &self.embedded)
.finish()
}
}
fn get_socket_path() -> Option<PathBuf> {
let root_path = PathBuf::from("/run/lactd.sock");
if root_path.exists() {