Macro schema_dispatch

Source
macro_rules! schema_dispatch {
    ($schema:expr, $this:ident.$generic_method:ident($($arg:expr),*).await$(,)?) => { ... };
    ($schema:expr, $this:ident.$generic_method:ident($($arg:expr),*)$(,)?) => { ... };
    ($schema:expr, $generic_fn:ident($($arg:expr),*).await$(,)?) => { ... };
    ($schema:expr, $generic_fn:ident($($arg:expr),*)$(,)?) => { ... };
    ($schema:expr, ts_out: $ts_out:expr, $this:ident.$generic_method:ident($($arg:expr),*).await$(,)?) => { ... };
    ($schema:expr, ts_out: $ts_out:expr, $this:ident.$generic_method:ident($($arg:expr),*)$(,)?) => { ... };
    ($schema:expr, ts_out: $ts_out:expr, $generic_fn:ident($($arg:expr),*).await$(,)?) => { ... };
    ($schema:expr, ts_out: $ts_out:expr, $generic_fn:ident($($arg:expr),*)$(,)?) => { ... };
}
Expand description

Dispatches to a generic function or method based on $schema and optionally $ts_out.

ยงErrors

This macro returns an error when the generic function or method returns an error.