pub struct PWStatusBytes { /* private fields */ }
Expand description

PW status Bytes (see spec page 23)

Implementations

Set format of PW1: false for UTF-8 or derived password, true for PIN block format 2.

Set format of PW3: false for UTF-8 or derived password, true for PIN block format 2.

Is PW1 (no. 81) only valid for one PSO:CDS command?

Configure if PW1 (no. 81) is only valid for one PSO:CDS command.

Max length of PW1

Max length of Resetting Code (RC) for PW1

Max length of PW3

Error counter of PW1 (if 0, then PW1 is blocked).

Error counter of Resetting Code (RC) (if 0, then RC is blocked).

Error counter of PW3 (if 0, then PW3 is blocked).

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.