Module label

Source
Available on crate feature auth only.
Expand description

Authentication labels.

Structs§

DecodeError
Represents errors that occur when decoding labels.
EmptyError
Represents errors that occur when the label is empty.
Error
Represents errors that can occur when extracting labels.
Label
Represents authentication labels.
LabelBuilder
Use builder syntax to set the inputs and finish with build().
MismatchError
Represnets errors that can occur on issuer mismatch.
ParseError
Represents errors that occur when parsing labels.

Enums§

DecodeErrorSource
Represents sources of errors that can occur when decoding labels.
ErrorSource
Represents sources of errors that can occur when extracting labels.
ParseErrorSource
Represents sources of errors that can occur when parsing labels.

Constants§

ISSUER
The issuer literal.
SLASH
The / literal.

Functions§

try_match
Checks whether the label issuer and the query issuer match, provided both are present.

Type Aliases§

Owned
Represents owned Label.
OwnedParts
Represents owned Parts.
Parts
Represents (issuer, user) parts of the label.