use hardlight::*;
#[rpc]
trait PetService {
async fn become_dog(
&self,
name: String,
age: u8,
breed: String,
) -> HandlerResult<()>;
async fn become_cat(
&self,
name: String,
age: u8,
breed: String,
) -> HandlerResult<()>;
async fn make_a_noise(&self) -> HandlerResult