devela/media/audio/
error.rs#[doc = crate::TAG_RESULT!()]
pub type AudioResult<T> = crate::Result<T, AudioError>;
#[doc = crate::TAG_ERROR_COMPOSITE!()]
#[non_exhaustive]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum AudioError {
AudioError,
}
mod core_impls {
use crate::{AudioError, Display, FmtResult, Formatter};
impl crate::Error for AudioError {}
impl crate::ExtError for AudioError {
type Kind = ();
fn error_eq(&self, other: &Self) -> bool {
self == other
}
fn error_kind(&self) -> Self::Kind {}
}
impl Display for AudioError {
fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult<()> {
write![f, "AudioError"]
}
}
}