I'm making a GTK app that I want to interact with multiple different online services, but some online services offer more features than others. So, what I would like to do is somehow test the features that a service offers at runtime.
Lets say I have a trait -- Service, that is the supertrait of several other traits, AccountService, FeedService, etc. How might I make it so a Box<dyn Service> could be downcasted to a Box<dyn AccountService>?