Type Alias bonsaidb::core::schema::ViewMapResult
source · pub type ViewMapResult<'doc, V> = Result<Mappings<<V as ViewSchema>::MappedKey<'doc>, <<V as ViewSchema>::View as View>::Value>, Error>;
Expand description
A type alias for the result of ViewSchema::map()
.
Aliased Type§
enum ViewMapResult<'doc, V> {
Ok(Mappings<<V as ViewSchema>::MappedKey<'doc>, <<V as ViewSchema>::View as View>::Value>),
Err(Error),
}
Variants§
Ok(Mappings<<V as ViewSchema>::MappedKey<'doc>, <<V as ViewSchema>::View as View>::Value>)
Contains the success value
Err(Error)
Contains the error value