Struct wow_srp::normalized_string::NormalizedString [−][src]
pub struct NormalizedString { /* fields omitted */ }
Expand description
Represents usernames and passwords containing only allowed characters.
Ownership is always taken by the function requiring it in order to prevent any cloning and reallocation.
See normalized_string
for more information.
Implementations
Checks for non-ASCII characters and too large of a string and correctly uppercases letters as needed.
Allowed characters are all ASCII characters except for ASCII control characters.
Errors
See the module level docs for explanation of allowed values.