pub enum ConvertError {
Unsupported(String),
InvalidArgument(String),
InvalidState(String),
}Expand description
Why a plan or a converter could not be made, or a call is not valid now.
Variants§
Unsupported(String)
The conversion is not one this module does: DoP or native DSD, a channel mapping other than mono to stereo, a sample-rate ratio that needs too large a filter.
InvalidArgument(String)
A format or option that is out of range or inconsistent.
InvalidState(String)
The call is not valid now (processing after finish without a reset).
Implementations§
Trait Implementations§
Source§impl Clone for ConvertError
impl Clone for ConvertError
Source§impl Debug for ConvertError
impl Debug for ConvertError
Source§impl Display for ConvertError
impl Display for ConvertError
impl Eq for ConvertError
Source§impl Error for ConvertError
impl Error for ConvertError
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 ConvertError
impl PartialEq for ConvertError
impl StructuralPartialEq for ConvertError
Auto Trait Implementations§
impl Forget for ConvertError
impl Freeze for ConvertError
impl Move for ConvertError
impl RefUnwindSafe for ConvertError
impl Send for ConvertErrorwhere
RawVecInner: Send,
impl Sync for ConvertErrorwhere
RawVecInner: Sync,
impl Unpin for ConvertError
impl UnsafeUnpin for ConvertError
impl UnwindSafe for ConvertErrorwhere
RawVecInner: UnwindSafe,
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