Macro perspective_client::assert_table_api
source · macro_rules! assert_table_api { ($x:ty) => { ... }; }
Expand description
Assert that an implementation of domain language wrapper for Table
implements the expected API. As domain languages have different API needs,
a trait isn’t useful for asserting that the entire API is implemented,
because the signatures will not match exactly (unless every method is
made heavily generic). Instead, this macro complains when a method name
is missing.