(
(err, connection_state): (SubhandlerError<BisectError>, state::Connection),
)
| 103 | } |
| 104 | |
| 105 | fn handle_errors( |
| 106 | (err, connection_state): (SubhandlerError<BisectError>, state::Connection), |
| 107 | ) -> DispatchFuture { |
| 108 | match err { |
| 109 | SubhandlerError::Shared(err) => Box::new(future::err((err, connection_state))), |
| 110 | SubhandlerError::Subhandler(err) => { |
| 111 | Box::new(send_message(connection_state, OutboundMessage::Error(err))) |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | type LoopFuture = Box< |
| 117 | Future< |
nothing calls this directly
no test coverage detected