macro_rules! offer_udp {
($session: expr, { $( $pat: pat => $result: expr , )+ }) => { ... };
}
Available on crate features
transport
or transport_udp
only.Expand description
Offer a choice between many different sessions wrapped
in an enum
.
This macro is available only if MultiCrusty is built with
the "transport"
feature or the "transport_udp"
feature.