Enum bluetooth_hci::types::AdvertisingIntervalError[][src]

pub enum AdvertisingIntervalError {
    TooShort(Duration),
    TooLong(Duration),
    Inverted(DurationDuration),
    NoRange,
}

Potential errors that can occur when specifying an AdvertisingInterval.

Variants

The minimum value was too short. Includes the invalid value.

The maximum value was too long. Includes the invalid value.

The minimum value was greater than the maximum value. Includes the provided minimum and value, respectively.

The advertising interval was not given a range, and the type was not ConnectableDirectedHighDutyCycle.

Trait Implementations

impl Copy for AdvertisingIntervalError
[src]

impl Clone for AdvertisingIntervalError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AdvertisingIntervalError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for AdvertisingIntervalError
[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