(reason: impl Into<String>)
| 86 | pub type EnvelopeResult<T> = std::result::Result<T, SessionEnvelopeError>; |
| 87 | |
| 88 | fn codec_error(reason: impl Into<String>) -> SessionEnvelopeError { |
| 89 | SessionEnvelopeError { |
| 90 | reason: reason.into(), |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | // Constants |
| 95 |