pub struct ResampleError {
pub source_rate: u32,
pub target_rate: u32,
}Expand description
Why a converter could not be made.
Fields§
§source_rate: u32The source rate asked for.
target_rate: u32The target rate asked for.
Trait Implementations§
Source§impl Clone for ResampleError
impl Clone for ResampleError
impl Copy for ResampleError
Source§impl Debug for ResampleError
impl Debug for ResampleError
Source§impl Display for ResampleError
impl Display for ResampleError
impl Eq for ResampleError
Source§impl Error for ResampleError
impl Error for ResampleError
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 ResampleError
impl PartialEq for ResampleError
impl StructuralPartialEq for ResampleError
Auto Trait Implementations§
impl Freeze for ResampleError
impl RefUnwindSafe for ResampleError
impl Send for ResampleError
impl Sync for ResampleError
impl Unpin for ResampleError
impl UnsafeUnpin for ResampleError
impl UnwindSafe for ResampleError
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