[][src]Macro session_types::try_offer

macro_rules! try_offer {
    (
        $id:ident, $branch:ident => $code:expr, $($t:tt)+
    ) => { ... };
    (
        $id:ident, $branch:ident => $code:expr
    ) => { ... };
}

Returns the channel unchanged on TryRecvError::Empty.