Ipnet::IpNet; use serde::{Deserialize, Serialize}; use std::fmt::Display; use std::path::{Path, PathBuf}; use uuid::Uuid; use crate::VibeCodedError; .
.set("metrics", metrics_table) .or_raise(|| VibeCodedError::lua_table_set("iocaine.metrics"))?; Ok(()) } pub fn new(persist_path: Option<&PathBuf>) -> Result<Self> { tracing::debug!("using the embedded handler"); let init = package .get_function::<IocaineContext, fn(Val<init::Metrics>) -> Option<()>>("init") .or_raise(|| VibeCodedError::message("failed to enqueue block request")) .