PubSub Trait

The PubSub trait contains functions for using PubSub in BonsaiDb. This trait is implemented by the Database types in each crate:

Using this trait, you can write code that generically can work regardless of whether BonsaiDb is operationg locally with no network connection or across the globe.

This is an async trait, which unfortunately yields messy documentation.