1 2 3 4 5 6 7 8 9 10 11
use zod::{rpc, Namespace}; #[derive(Namespace)] struct A; #[rpc::namespace] impl A { async fn test(&self) {} } fn main() {}