#[non_exhaustive]#[repr(u32)]pub enum JxlEncoderStatus {
JXL_ENC_SUCCESS = 0,
JXL_ENC_ERROR = 1,
JXL_ENC_NEED_MORE_OUTPUT = 2,
}Expand description
Return value for multiple encoder functions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
JXL_ENC_SUCCESS = 0
Function call finished successfully, or encoding is finished and there is nothing more to be done.
JXL_ENC_ERROR = 1
An error occurred, for example out of memory.
JXL_ENC_NEED_MORE_OUTPUT = 2
The encoder needs more output buffer to continue encoding.
Trait Implementations§
Source§impl Clone for JxlEncoderStatus
impl Clone for JxlEncoderStatus
Source§fn clone(&self) -> JxlEncoderStatus
fn clone(&self) -> JxlEncoderStatus
Returns a duplicate 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 JxlEncoderStatus
impl Debug for JxlEncoderStatus
Source§impl Hash for JxlEncoderStatus
impl Hash for JxlEncoderStatus
Source§impl PartialEq for JxlEncoderStatus
impl PartialEq for JxlEncoderStatus
impl Copy for JxlEncoderStatus
impl Eq for JxlEncoderStatus
impl StructuralPartialEq for JxlEncoderStatus
Auto Trait Implementations§
impl Freeze for JxlEncoderStatus
impl RefUnwindSafe for JxlEncoderStatus
impl Send for JxlEncoderStatus
impl Sync for JxlEncoderStatus
impl Unpin for JxlEncoderStatus
impl UnsafeUnpin for JxlEncoderStatus
impl UnwindSafe for JxlEncoderStatus
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