Module errors

Module errors 

Source
Expand description

Errors.

Structs§

LenNotEqual
Length not equal error can occur if replacing a string or a character with one of a different length without padding.
ReplacementTooLong
Replacement too long error can occur if replacing a string or a character with a longer one.

Enums§

ReplaceWithPadCharError
Replace with pad char error can occur when replacing a string or a character with a char pad.
ReplaceWithPadError
Replace with pad error can occur when replacing a string or a character with a byte pad.
TryFromBytesError
Try from bytes error can occur when trying to convert a byte slice ([u8]) to a crate::Char.
TryFromStrError
Try from str error can occur when trying to convert a str to a crate::Char.