Enum irapt::error::InvalidParameterError [−][src]
#[non_exhaustive]
pub enum InvalidParameterError {
InterpolationWindowTooLong {
max_length: u32,
},
}
Expand description
An error returned when the supplied Parameters
are invalid or conflict with each other.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The supplied half_interploation_window_len
is too large for the given pitch_range
, sample_rate
, and
fft_len
.
Fields of InterpolationWindowTooLong
max_length: u32
The maximum allowable length of half_interpolation_window_len
for the given pitch_range
and
sample_rate
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InvalidParameterError
impl Send for InvalidParameterError
impl Sync for InvalidParameterError
impl Unpin for InvalidParameterError
impl UnwindSafe for InvalidParameterError
Blanket Implementations
Mutably borrows from an owned value. Read more