Enum melody::MelodyErrorsKind
source · pub enum MelodyErrorsKind {
Show 16 variants
Io(IoErrorKind),
NotAbsolutePath,
PathDoesNotExist,
PathIsNotADir,
PathIsNotAFile,
ChildOfParentRecursion,
FailedToFindParent,
UnsupportedFileType,
FailedToReadTag,
UnkownFileType,
CanNotReadFileEXT,
EmptyQueue,
NotPaused,
AlreadyPlaying,
MissingDuration,
MetaDataError(Mp3MetadataError),
}
Variants
Io(IoErrorKind)
NotAbsolutePath
PathDoesNotExist
PathIsNotADir
PathIsNotAFile
ChildOfParentRecursion
FailedToFindParent
UnsupportedFileType
FailedToReadTag
UnkownFileType
CanNotReadFileEXT
EmptyQueue
NotPaused
AlreadyPlaying
MissingDuration
MetaDataError(Mp3MetadataError)
Trait Implementations
sourceimpl Clone for MelodyErrorsKind
impl Clone for MelodyErrorsKind
sourcefn clone(&self) -> MelodyErrorsKind
fn clone(&self) -> MelodyErrorsKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MelodyErrorsKind
impl Debug for MelodyErrorsKind
sourceimpl From<Error> for MelodyErrorsKind
impl From<Error> for MelodyErrorsKind
sourcefn from(e: Mp3MetadataError) -> MelodyErrorsKind
fn from(e: Mp3MetadataError) -> MelodyErrorsKind
Converts to this type from the input type.
impl Copy for MelodyErrorsKind
Auto Trait Implementations
impl RefUnwindSafe for MelodyErrorsKind
impl Send for MelodyErrorsKind
impl Sync for MelodyErrorsKind
impl Unpin for MelodyErrorsKind
impl UnwindSafe for MelodyErrorsKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more