pub enum ImportError {
Empty(PathBuf),
Meta(MetaError),
MusicBrainz(MbError),
Discogs(DiscogsError),
Io(Error),
Path(PathError),
Conflict(String),
Exists(PathBuf),
Untagged(String),
}Variants§
Empty(PathBuf)
Meta(MetaError)
MusicBrainz(MbError)
Discogs(DiscogsError)
Io(Error)
Path(PathError)
Conflict(String)
Exists(PathBuf)
The album is already filed at this directory: its destinations are taken, by files not close enough to these to be the same copy. Filed by the same rules into the same format’s folder, it is the same album.
Untagged(String)
The files’ own tags do not describe one album well enough to file it by them.
Implementations§
Source§impl ImportError
impl ImportError
Sourcepub fn is_transient(&self) -> bool
pub fn is_transient(&self) -> bool
Whether the same import could succeed later without anything changing here.
Trait Implementations§
Source§impl Debug for ImportError
impl Debug for ImportError
Source§impl Display for ImportError
impl Display for ImportError
Source§impl Error for ImportError
impl Error for ImportError
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<DiscogsError> for ImportError
impl From<DiscogsError> for ImportError
Source§fn from(source: DiscogsError) -> Self
fn from(source: DiscogsError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ImportError
impl From<Error> for ImportError
Source§impl From<MbError> for ImportError
impl From<MbError> for ImportError
Source§impl From<MetaError> for ImportError
impl From<MetaError> for ImportError
Auto Trait Implementations§
impl !RefUnwindSafe for ImportError
impl !UnwindSafe for ImportError
impl Freeze for ImportError
impl Send for ImportError
impl Sync for ImportError
impl Unpin for ImportError
impl UnsafeUnpin for ImportError
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