pub trait QueryDb<'d>: Sized {
type DynDb: ?Sized + Database + HasQueryGroup<Self::Group> + 'd;
type Group: QueryGroup<GroupStorage = Self::GroupStorage>;
type GroupStorage;
}
Expand description
Trait implements by all of the “special types” associated with each of your queries.
Base trait of Query
that has a lifetime parameter to allow the DynDb
to be non-’static.
Required Associated Types§
sourcetype DynDb: ?Sized + Database + HasQueryGroup<Self::Group> + 'd
type DynDb: ?Sized + Database + HasQueryGroup<Self::Group> + 'd
Dyn version of the associated trait for this query group.
sourcetype Group: QueryGroup<GroupStorage = Self::GroupStorage>
type Group: QueryGroup<GroupStorage = Self::GroupStorage>
Associate query group struct.
sourcetype GroupStorage
type GroupStorage
Generated struct that contains storage for all queries in a group.
Object Safety§
This trait is not object safe.