pub enum AudioMixerError {
Ffmpeg(Error),
SeekUnsupported,
UnsupportedBuffer(&'static str),
}Expand description
Errors specific to AudioMixer. Converts into the crate-wide Error
via ? (see crate::error::Error).
Variants§
Ffmpeg(Error)
FFmpeg rejected resampler creation or audio conversion.
SeekUnsupported
Seeking was requested on a live mixer with no stored timeline.
UnsupportedBuffer(&'static str)
An input sink received a buffer other than decoded audio or end-of-stream.
Trait Implementations§
Source§impl Debug for AudioMixerError
impl Debug for AudioMixerError
Source§impl Display for AudioMixerError
impl Display for AudioMixerError
Source§impl Error for AudioMixerError
impl Error for AudioMixerError
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<AudioMixerError> for Error
impl From<AudioMixerError> for Error
Source§fn from(source: AudioMixerError) -> Self
fn from(source: AudioMixerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AudioMixerError
impl RefUnwindSafe for AudioMixerError
impl Send for AudioMixerError
impl Sync for AudioMixerError
impl Unpin for AudioMixerError
impl UnsafeUnpin for AudioMixerError
impl UnwindSafe for AudioMixerError
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