Macro dbn::rtype_dispatch_with_ts_out
source · macro_rules! rtype_dispatch_with_ts_out { ($rec_ref:expr, $generic_fn:expr $(,$arg:expr)*) => { ... }; }
Expand description
Specializes a generic function to all record types wrapped in
WithTsOut
and dispatches based on the rtype
.
§Safety
Assumes $rec_ref
contains a record with ts_out
appended. If this is not the
case, the reading the record will read beyond the end of the record.
§Errors
This macro returns an error if the rtype is not recognized.