Set the user-facing message.
(mut self, message: impl Into<String>)
| 192 | |
| 193 | /// Set the user-facing message. |
| 194 | pub(crate) fn with_message(mut self, message: impl Into<String>) -> Self { |
| 195 | self.message = Some(message.into()); |
| 196 | self |
| 197 | } |
| 198 | |
| 199 | /// Add a warning. |
| 200 | pub(crate) fn with_warning(mut self, warning: impl Into<String>) -> Self { |
no outgoing calls