pub enum ReadError {
SourceUnavailable,
SourceChanged,
SidecarUnavailable,
SidecarChanged,
TooLarge,
ReadFailed,
TagsUnavailable,
}Expand description
Why a complete, current lyrics answer cannot be supplied.
Variants§
The catalogued audio is missing or cannot be opened.
SourceChanged
Audio identity changed, its precise timestamp is unavailable, or its path is a link or non-regular file.
The catalogued sidecar is missing or cannot be opened.
SidecarChanged
Sidecar identity, type or confinement cannot be confirmed.
TooLarge
Input exceeds 256 KiB or complete decoded/expanded text exceeds 1 MiB.
ReadFailed
The complete sidecar could not be read.
Local audio tags could not be read for an uncatalogued track.
Trait Implementations§
Source§impl Error for ReadError
impl Error for ReadError
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()
impl Copy for ReadError
impl Eq for ReadError
impl StructuralPartialEq for ReadError
Auto Trait Implementations§
impl Freeze for ReadError
impl RefUnwindSafe for ReadError
impl Send for ReadError
impl Sync for ReadError
impl Unpin for ReadError
impl UnwindSafe for ReadError
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