(status: Status)
| 2995 | } |
| 2996 | |
| 2997 | fn from_status(status: Status) -> Self { |
| 2998 | let fatal = matches!(status.code(), Code::NotFound | Code::FailedPrecondition); |
| 2999 | Self { |
| 3000 | message: status.to_string(), |
| 3001 | fatal, |
| 3002 | } |
| 3003 | } |
| 3004 | } |
| 3005 | |
| 3006 | impl std::fmt::Display for ForwardTcpConnectionError { |
nothing calls this directly
no outgoing calls
no test coverage detected