Enum scram::Kind [] [src]

pub enum Kind {
    InvalidNonce,
    InvalidField(Field),
    ExpectedField(Field),
}

The kinds of protocol errors.

Variants

InvalidNonce

The server responded with a nonce that doesn't start with our nonce.

InvalidField(Field)

The content of the field Field is invalid.

ExpectedField(Field)

The field Field was expected but not found.

Trait Implementations

impl Debug for Kind
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.