Module str

Module str 

Source
Expand description

Non-empty str.

Structs§

EmptyStr
Represents errors returned when received strings are empty.
NonEmptyStr
Represents non-empty str values.
NonEmptyUtf8Error
Represents errors returned when the received non-empty bytes are not valid UTF-8.

Enums§

MaybeEmptyUtf8Error
Represents errors returned when the received bytes are either empty or not valid UTF-8.

Constants§

EMPTY_STR
The error message used when the string is empty.

Traits§

FromNonEmptyStr
Parsing values from non-empty strings.