pub fn init(token: Option<&str>)Expand description
Seed the admin token before the server starts.
Must be called before the first HTTP request (i.e. before
crate::server::serve returns a bound socket). If the OnceLock has
already been initialised (because another call or the ADMIN_TOKEN env var
was read first), this is a no-op and the original value wins.
Passing None or an empty string leaves admin endpoints disabled.