Enum bluenrg::gatt::EncryptionKeySizeError[][src]

pub enum EncryptionKeySizeError {
    TooShort,
    TooLong,
}

Errors that can occur when creating an EncryptionKeySize.

Variants

The provided size was less than the minimum allowed size.

The provided size was greater than the maximum allowed size.

Trait Implementations

impl Copy for EncryptionKeySizeError
[src]

impl Clone for EncryptionKeySizeError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EncryptionKeySizeError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for EncryptionKeySizeError
[src]

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

This method tests for !=.

Auto Trait Implementations