Encoder. Implemented for types that know how to encode a specific IMAP message. See [implementors](trait.Encoder.html#implementors).
| 85 | /// |
| 86 | /// Implemented for types that know how to encode a specific IMAP message. See [implementors](trait.Encoder.html#implementors). |
| 87 | pub trait Encoder { |
| 88 | type Message<'a>; |
| 89 | |
| 90 | /// Encode this message. |
| 91 | /// |
| 92 | /// This will return an [`Encoded`] message. |
| 93 | fn encode(&self, message: &Self::Message<'_>) -> Encoded; |
| 94 | } |
| 95 | |
| 96 | /// An encoded message. |
| 97 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected