Enum lrc::LyricsError
source · pub enum LyricsError {
ParseError(String),
IDTagError(IDTagErrorKind),
FormatError(&'static str),
}
Variants§
Trait Implementations§
source§impl Debug for LyricsError
impl Debug for LyricsError
source§impl Display for LyricsError
impl Display for LyricsError
source§impl Error for LyricsError
impl Error for LyricsError
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<LyricsError> for LyricsError
impl PartialEq<LyricsError> for LyricsError
source§fn eq(&self, other: &LyricsError) -> bool
fn eq(&self, other: &LyricsError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LyricsError
Auto Trait Implementations§
impl RefUnwindSafe for LyricsError
impl Send for LyricsError
impl Sync for LyricsError
impl Unpin for LyricsError
impl UnwindSafe for LyricsError
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