pub async fn write_bus_keypair(keypair: &Keypair) -> Result<()>Expand description
Write the bus server’s static keypair to the runtime directory.
bus.pub(32 bytes, world-readable) — read by connecting daemonsbus.key(32 bytes, mode 0600) — private key for the bus server
§Errors
Returns an error if directory creation or file I/O fails.