pub fn define_view<V: MapReduce + ViewSchema<View = V> + SerializedView + Clone + 'static>(
pub fn view_by_name(&self, name: &ViewName) -> Result<&'_ dyn view::Serialized, Error> {
pub fn encryption_key_for_collection(&self, collection: &CollectionName) -> Option<&KeyId> {
fn map(&self, document: &BorrowedDocument<'_>) -> Result<Vec<map::Serialized>, view::Error> {
fn reduce(&self, mappings: &[(&[u8], &[u8])], rereduce: bool) -> Result<Vec<u8>, view::Error> {