Enum rexiv2::Rexiv2Error
source · [−]Expand description
A wrapper type for the kinds of errors one might encounter when using the library.
Variants
NoValue
No value found
Utf8(Utf8Error)
See std::str::Utf8Error
Internal(Option<String>)
An error generated from the wrapped gexiv2 or Exiv2 libraries.
May or may not contain a description message.
Trait Implementations
sourceimpl Debug for Rexiv2Error
impl Debug for Rexiv2Error
sourceimpl Display for Rexiv2Error
impl Display for Rexiv2Error
sourceimpl Error for Rexiv2Error
impl Error for Rexiv2Error
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Utf8Error> for Rexiv2Error
impl From<Utf8Error> for Rexiv2Error
sourcefn from(err: Utf8Error) -> Rexiv2Error
fn from(err: Utf8Error) -> Rexiv2Error
Converts to this type from the input type.
sourceimpl PartialEq<Rexiv2Error> for Rexiv2Error
impl PartialEq<Rexiv2Error> for Rexiv2Error
sourcefn eq(&self, other: &Rexiv2Error) -> bool
fn eq(&self, other: &Rexiv2Error) -> bool
impl Eq for Rexiv2Error
impl StructuralEq for Rexiv2Error
impl StructuralPartialEq for Rexiv2Error
Auto Trait Implementations
impl RefUnwindSafe for Rexiv2Error
impl Send for Rexiv2Error
impl Sync for Rexiv2Error
impl Unpin for Rexiv2Error
impl UnwindSafe for Rexiv2Error
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