(&self)
| 223 | } |
| 224 | |
| 225 | fn backend(&self) -> Backend { |
| 226 | match self.mode { |
| 227 | Mode::Local => Backend::Local(self.local.clone().expect("local backend state")), |
| 228 | Mode::Reactor => { |
| 229 | Backend::Reactor(self.reactor.clone().expect("reactor backend channel")) |
| 230 | } |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | /// Drive one service exchange on the session's runtime, mapping the |
| 235 | /// transport/domain status to the CLI's error vocabulary. |