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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq 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)>
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<SymphoniaDecoderError> for BlissError
impl From<SymphoniaDecoderError> for BlissError
Source§fn from(err: SymphoniaDecoderError) -> Self
fn from(err: SymphoniaDecoderError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlissError
impl PartialEq for BlissError
impl StructuralPartialEq for BlissError
Auto Trait Implementations§
impl Freeze for BlissError
impl RefUnwindSafe for BlissError
impl Send for BlissError
impl Sync for BlissError
impl Unpin for BlissError
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more