Macro ret

Source
macro_rules! ret {
    ($ex:expr) => { ... };
}
Expand description

Bridges between async and sync execution contexts

Behavior depends on compilation:

  • With async feature: Returns a boxed future
  • Without async feature: Blocks on the global runtime