Closed smklein closed 3 years ago
Provides a variant of https://github.com/oxidecomputer/async-bb8-diesel/pull/2 which attempts to:
1) Mimic the synchronous interface fairly closely. Using diesel's examples, updated the example to derive AsChangeset and Identifiable directly.
AsChangeset
Identifiable
2) Simplify trait bounds, by directly requiring UpdateAndFetchResults, rather than implying it indirectly.
UpdateAndFetchResults
Provides a variant of https://github.com/oxidecomputer/async-bb8-diesel/pull/2 which attempts to:
1) Mimic the synchronous interface fairly closely. Using diesel's examples, updated the example to derive
AsChangeset
andIdentifiable
directly.2) Simplify trait bounds, by directly requiring
UpdateAndFetchResults
, rather than implying it indirectly.