risingwave_object_store::object

Macro dispatch_object_store_enum

source
macro_rules! dispatch_object_store_enum {
    (
        {
            $(
                {$variant:ident, $_type_name:ty}
            ),*
        },
        $object_store:expr,
        $var_name:ident,
        $func:expr
    ) => { ... };
    ($object_store:expr, |$var_name:ident| $func:expr) => { ... };
}