maybe_borrow

Macro return_borrowed

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

Return from the containing function with potentially borrowed data from within a maybe_borrow or try_maybe_borrow invocation.

This macro is only available within the aforementioned macros.