pub enum AudioResamplerError {
Ffmpeg(Error),
UnsupportedBuffer(&'static str),
InvalidTimeBase {
numerator: i32,
denominator: i32,
},
}Expand description
Errors specific to AudioResampler.
Variants§
Trait Implementations§
Source§impl Debug for AudioResamplerError
impl Debug for AudioResamplerError
Source§impl Display for AudioResamplerError
impl Display for AudioResamplerError
Source§impl Error for AudioResamplerError
impl Error for AudioResamplerError
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 From<AudioResamplerError> for Error
impl From<AudioResamplerError> for Error
Source§fn from(source: AudioResamplerError) -> Self
fn from(source: AudioResamplerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AudioResamplerError
impl RefUnwindSafe for AudioResamplerError
impl Send for AudioResamplerError
impl Sync for AudioResamplerError
impl Unpin for AudioResamplerError
impl UnsafeUnpin for AudioResamplerError
impl UnwindSafe for AudioResamplerError
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