pub enum ProtocolError {
    VerificationError(PakeError),
    ServerError,
    ServerInvalidEnvelopeCredentialsFormatError,
    ClientError,
    ReflectedValueError,
}
Expand description

Represents an error in protocol handling

Variants

VerificationError(PakeError)

Tuple Fields

Internal error during password verification: {0}

ServerError

Server response cannot be handled.

ServerInvalidEnvelopeCredentialsFormatError

  • This error occurs when the server specifies an envelope credentials
  • format that is invalid

ClientError

Client request cannot be handled.

ReflectedValueError

  • This error occurs when the client detects that the server has
  • reflected the OPRF value (beta == alpha)

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.