#[non_exhaustive]pub enum MakePlayableError {
Create(AudioStreamError),
Parse(Error),
Panicked,
}Available on crate feature
driver only.Expand description
Errors encountered when readying or pre-processing an Input.
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.
Create(AudioStreamError)
Parse(Error)
Failed to read headers, codecs, or a valid stream from a LiveInput.
Panicked
A blocking thread panicked or failed to return a parsed input.
Trait Implementations§
Source§impl Debug for MakePlayableError
impl Debug for MakePlayableError
Source§impl Display for MakePlayableError
impl Display for MakePlayableError
Source§impl Error for MakePlayableError
impl Error for MakePlayableError
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<AudioStreamError> for MakePlayableError
impl From<AudioStreamError> for MakePlayableError
Source§fn from(val: AudioStreamError) -> Self
fn from(val: AudioStreamError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for MakePlayableError
impl From<Error> for MakePlayableError
Source§fn from(val: SymphError) -> Self
fn from(val: SymphError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MakePlayableError
impl !RefUnwindSafe for MakePlayableError
impl Send for MakePlayableError
impl Sync for MakePlayableError
impl Unpin for MakePlayableError
impl !UnwindSafe for MakePlayableError
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