Struct libheif_sys::heif_error
source · #[repr(C)]pub struct heif_error {
pub code: heif_error_code,
pub subcode: heif_suberror_code,
pub message: *const c_char,
}
Fields§
§code: heif_error_code
main error category
subcode: heif_suberror_code
more detailed error code
message: *const c_char
textual error message (is always defined, you do not have to check for NULL)
Trait Implementations§
source§impl Clone for heif_error
impl Clone for heif_error
source§fn clone(&self) -> heif_error
fn clone(&self) -> heif_error
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for heif_error
impl Debug for heif_error
impl Copy for heif_error
Auto Trait Implementations§
impl Freeze for heif_error
impl RefUnwindSafe for heif_error
impl !Send for heif_error
impl !Sync for heif_error
impl Unpin for heif_error
impl UnwindSafe for heif_error
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