(message: impl Into<String>)
| 2988 | |
| 2989 | impl ForwardTcpConnectionError { |
| 2990 | fn transient(message: impl Into<String>) -> Self { |
| 2991 | Self { |
| 2992 | message: message.into(), |
| 2993 | fatal: false, |
| 2994 | } |
| 2995 | } |
| 2996 | |
| 2997 | fn from_status(status: Status) -> Self { |
| 2998 | let fatal = matches!(status.code(), Code::NotFound | Code::FailedPrecondition); |
nothing calls this directly
no outgoing calls
no test coverage detected