pub enum AudioPlaybackError {
CreateError(Error),
StreamError(StreamError),
DecodeError(DecoderError),
PlayError(PlayError),
SpawnError(JoinError),
}Variants§
CreateError(Error)
StreamError(StreamError)
DecodeError(DecoderError)
PlayError(PlayError)
SpawnError(JoinError)
Trait Implementations§
Source§impl Debug for AudioPlaybackError
impl Debug for AudioPlaybackError
Source§impl Display for AudioPlaybackError
impl Display for AudioPlaybackError
Source§impl Error for AudioPlaybackError
impl Error for AudioPlaybackError
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<DecoderError> for AudioPlaybackError
impl From<DecoderError> for AudioPlaybackError
Source§fn from(source: DecoderError) -> Self
fn from(source: DecoderError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AudioPlaybackError
impl From<Error> for AudioPlaybackError
Source§impl From<JoinError> for AudioPlaybackError
impl From<JoinError> for AudioPlaybackError
Source§impl From<PlayError> for AudioPlaybackError
impl From<PlayError> for AudioPlaybackError
Source§impl From<StreamError> for AudioPlaybackError
impl From<StreamError> for AudioPlaybackError
Source§fn from(source: StreamError) -> Self
fn from(source: StreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AudioPlaybackError
impl !RefUnwindSafe for AudioPlaybackError
impl Send for AudioPlaybackError
impl Sync for AudioPlaybackError
impl Unpin for AudioPlaybackError
impl !UnwindSafe for AudioPlaybackError
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