Enum bliss_audio::BlissError
source · pub enum BlissError {
DecodingError(String),
AnalysisError(String),
ProviderError(String),
}
Expand description
Umbrella type for bliss error types
Variants§
DecodingError(String)
An error happened while decoding an (audio) file.
AnalysisError(String)
An error happened during the analysis of the song’s samples by bliss.
ProviderError(String)
An error happened with the music library provider. Useful to report errors when you implement bliss for an audio player.
Trait Implementations§
source§impl Clone for BlissError
impl Clone for BlissError
source§fn clone(&self) -> BlissError
fn clone(&self) -> BlissError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlissError
impl Debug for BlissError
source§impl Display for BlissError
impl Display for BlissError
source§impl Error for BlissError
impl Error for BlissError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for BlissError
impl PartialEq for BlissError
source§fn eq(&self, other: &BlissError) -> bool
fn eq(&self, other: &BlissError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BlissError
impl StructuralEq for BlissError
impl StructuralPartialEq for BlissError
Auto Trait Implementations§
impl RefUnwindSafe for BlissError
impl Send for BlissError
impl Sync for BlissError
impl Unpin for BlissError
impl UnwindSafe for BlissError
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more