Macros§
- format_
message - Formats an extractable message and returns its default message if infrastructure fails.
- formatted_
message - Formats extractable text with checked replacements and returns
FormattedMessage. Uses the same IDs, locale negotiation, fallback, and error reporting ascrate::format_message!. Inline replacement names are checked at compile time. - message_
descriptor
Structs§
- Format
Message Error - A recoverable message error reported while formatting falls back.
- Formatted
Message - Text produced by checked formatting.
- Intl
- Intl
Cache - Message
Catalog - Message
Descriptor - Message
Descriptor Ref - Borrowed message descriptor for runtime-defined messages.
- Message
Values - Checked replacements: formatted messages, domain-owned verbatim arguments, numbers, booleans, and dates.
- Owned
Message Descriptor - Owned descriptor snapshot attached to recovered formatting errors.
- Verbatim
- An interpolation-only borrow of application-approved content.
Enums§
- Error
- Message
Source - Identifies the message source that failed during automatic fallback.
Traits§
- Message
Argument - An interpolation value accepted by checked formatting. Sealed so unchecked string or rich-text values cannot implement this trait.
- Verbatim
Source - Application-owned content that may be interpolated without translation.