Module domain

Module domain 

Source
Expand description

Validated domain types

This module provides newtype wrappers around string types to add compile-time type safety and runtime validation for domain-specific values like URIs, MIME types, and Base64 strings.

Structs§

Base64String
Base64-encoded string
MimeType
MIME type string
Uri
A validated URI string

Enums§

Base64Error
Error type for Base64 validation
MimeTypeError
Error type for MIME type validation
UriError
Error type for URI validation