pub trait OwnedDocuments {
// Required method
fn collection_documents<C>(
&self,
) -> Result<Vec<CollectionDocument<C>>, Error>
where C: SerializedCollection;
}Expand description
Helper functions for a slice of OwnedDocuments.
Required Methods§
Sourcefn collection_documents<C>(&self) -> Result<Vec<CollectionDocument<C>>, Error>where
C: SerializedCollection,
fn collection_documents<C>(&self) -> Result<Vec<CollectionDocument<C>>, Error>where
C: SerializedCollection,
Returns a list of deserialized documents.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.