Struct lofty::error::Id3v2Error
source · pub struct Id3v2Error { /* private fields */ }Expand description
An error that arises while interacting with an ID3v2 tag
Implementations§
source§impl Id3v2Error
impl Id3v2Error
sourcepub const fn new(kind: Id3v2ErrorKind) -> Self
pub const fn new(kind: Id3v2ErrorKind) -> Self
Create a new ID3v2Error from an Id3v2ErrorKind
sourcepub fn kind(&self) -> &Id3v2ErrorKind
pub fn kind(&self) -> &Id3v2ErrorKind
Returns the Id3v2ErrorKind
Trait Implementations§
source§impl Debug for Id3v2Error
impl Debug for Id3v2Error
source§impl Display for Id3v2Error
impl Display for Id3v2Error
source§impl From<Id3v2Error> for LoftyError
impl From<Id3v2Error> for LoftyError
source§fn from(input: Id3v2Error) -> Self
fn from(input: Id3v2Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Id3v2Error
impl Send for Id3v2Error
impl Sync for Id3v2Error
impl Unpin for Id3v2Error
impl UnwindSafe for Id3v2Error
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