gen_server: type Timer + handle_timer/handle_idle; fold control into Sys channel (RFC 015 §4.5, §6)

This commit is contained in:
smarm-agent
2026-06-18 18:54:24 +00:00
parent 47d75d1ead
commit 57eadb5c6c
3 changed files with 94 additions and 32 deletions
+1
View File
@@ -24,6 +24,7 @@ impl GenServer for Counter {
type Reply = u64;
type Cast = Update;
type Info = ();
type Timer = ();
fn handle_call(&mut self, q: Query) -> u64 {
match q {