macro_rules! unwrap_or_shutdown {
($self:expr, $res:expr, $reason:expr) => { ... };
}Expand description
Unwrap the specified Option, returning a ReactorError::Shutdown if it is None.
This is a macro instead of a function to work around borrowck errors in the select! from run_once().