Enum libopenraw_sys::ffi_libopenraw::or_error
source · #[repr(u32)]
pub enum or_error {
Show 13 variants
OR_ERROR_NONE,
OR_ERROR_BUF_TOO_SMALL,
OR_ERROR_NOTAREF,
OR_ERROR_CANT_OPEN,
OR_ERROR_CLOSED_STREAM,
OR_ERROR_NOT_FOUND,
OR_ERROR_INVALID_PARAM,
OR_ERROR_INVALID_FORMAT,
OR_ERROR_DECOMPRESSION,
OR_ERROR_NOT_IMPLEMENTED,
OR_ERROR_ALREADY_OPEN,
OR_ERROR_UNKNOWN,
OR_ERROR_LAST_,
}Expand description
@brief Error codes returned by libopenraw.
Variants
OR_ERROR_NONE
< no error
OR_ERROR_BUF_TOO_SMALL
< Buffer is too small.
OR_ERROR_NOTAREF
< The object is not ref
OR_ERROR_CANT_OPEN
< Can’t open file. Check OS error codes
OR_ERROR_CLOSED_STREAM
< Stream closed
OR_ERROR_NOT_FOUND
< Requested “object” not found
OR_ERROR_INVALID_PARAM
< Invalid parameter
OR_ERROR_INVALID_FORMAT
< Invalid format
OR_ERROR_DECOMPRESSION
< Decompression error
OR_ERROR_NOT_IMPLEMENTED
< Function is not implemented
OR_ERROR_ALREADY_OPEN
< Stream already open
OR_ERROR_UNKNOWN
< Unknown error.
OR_ERROR_LAST_
Trait Implementations
impl Copy for or_error
impl Eq for or_error
impl StructuralEq for or_error
impl StructuralPartialEq for or_error
Auto Trait Implementations
impl RefUnwindSafe for or_error
impl Send for or_error
impl Sync for or_error
impl Unpin for or_error
impl UnwindSafe for or_error
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