Enum spectrum_analyzer::FrequencyLimitError[][src]

pub enum FrequencyLimitError {
    ValueBelowMinimum(f32),
    ValueAboveNyquist(f32),
    InvalidRange(f32f32),
}
Expand description

Possible errors when creating a FrequencyLimit-object.

Variants

ValueBelowMinimum(f32)

Tuple Fields

0: f32

If the minimum value is below 0. Negative frequencies are not supported.

ValueAboveNyquist(f32)

Tuple Fields

0: f32

If the maximum value is above Nyquist frequency. Nyquist-Frequency is the maximum detectable frequency.

InvalidRange(f32f32)

Tuple Fields

0: f32
1: f32

Either the corresponding value is below or above the minimum/maximum or the first member of the tuple is bigger than the second.

Trait Implementations

Formats the value using the given formatter. Read more

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.

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.