#[non_exhaustive]pub enum WaveformError {
InvalidShape,
MismatchedBlock,
}Expand description
Why a waveform summary cannot be configured or fed.
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.
InvalidShape
No channels, a zero bucket, or no levels.
MismatchedBlock
A block’s channel count or plane lengths do not match.
Trait Implementations§
Source§impl Clone for WaveformError
impl Clone for WaveformError
impl Copy for WaveformError
Source§impl Debug for WaveformError
impl Debug for WaveformError
Source§impl Display for WaveformError
impl Display for WaveformError
impl Eq for WaveformError
Source§impl Error for WaveformError
impl Error for WaveformError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for WaveformError
impl PartialEq for WaveformError
impl StructuralPartialEq for WaveformError
Auto Trait Implementations§
impl Freeze for WaveformError
impl RefUnwindSafe for WaveformError
impl Send for WaveformError
impl Sync for WaveformError
impl Unpin for WaveformError
impl UnsafeUnpin for WaveformError
impl UnwindSafe for WaveformError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more