ZL_ErrorCode

Enum ZL_ErrorCode 

Source
#[repr(u32)]
pub enum ZL_ErrorCode {
Show 53 variants ZL_ErrorCode_no_error = 0, ZL_ErrorCode_GENERIC = 1, ZL_ErrorCode_srcSize_tooSmall = 3, ZL_ErrorCode_srcSize_tooLarge = 4, ZL_ErrorCode_dstCapacity_tooSmall = 5, ZL_ErrorCode_userBuffer_alignmentIncorrect = 6, ZL_ErrorCode_decompression_incorrectAPI = 7, ZL_ErrorCode_userBuffers_invalidNum = 8, ZL_ErrorCode_invalidName = 9, ZL_ErrorCode_header_unknown = 10, ZL_ErrorCode_frameParameter_unsupported = 11, ZL_ErrorCode_corruption = 12, ZL_ErrorCode_compressedChecksumWrong = 13, ZL_ErrorCode_contentChecksumWrong = 14, ZL_ErrorCode_outputs_tooNumerous = 15, ZL_ErrorCode_compressionParameter_invalid = 20, ZL_ErrorCode_parameter_invalid = 21, ZL_ErrorCode_outputID_invalid = 22, ZL_ErrorCode_invalidRequest_singleOutputFrameOnly = 23, ZL_ErrorCode_outputNotCommitted = 24, ZL_ErrorCode_outputNotReserved = 25, ZL_ErrorCode_segmenter_inputNotConsumed = 26, ZL_ErrorCode_graph_invalid = 30, ZL_ErrorCode_graph_nonserializable = 31, ZL_ErrorCode_invalidTransform = 32, ZL_ErrorCode_graph_invalidNumInputs = 33, ZL_ErrorCode_successor_invalid = 40, ZL_ErrorCode_successor_alreadySet = 41, ZL_ErrorCode_successor_invalidNumInputs = 42, ZL_ErrorCode_inputType_unsupported = 43, ZL_ErrorCode_graphParameter_invalid = 44, ZL_ErrorCode_nodeParameter_invalid = 50, ZL_ErrorCode_nodeParameter_invalidValue = 51, ZL_ErrorCode_transform_executionFailure = 52, ZL_ErrorCode_customNode_definitionInvalid = 53, ZL_ErrorCode_node_unexpected_input_type = 54, ZL_ErrorCode_node_invalid_input = 55, ZL_ErrorCode_node_invalid = 56, ZL_ErrorCode_nodeExecution_invalidOutputs = 57, ZL_ErrorCode_nodeRegen_countIncorrect = 58, ZL_ErrorCode_formatVersion_unsupported = 60, ZL_ErrorCode_formatVersion_notSet = 61, ZL_ErrorCode_node_versionMismatch = 62, ZL_ErrorCode_allocation = 70, ZL_ErrorCode_internalBuffer_tooSmall = 71, ZL_ErrorCode_integerOverflow = 72, ZL_ErrorCode_stream_wrongInit = 73, ZL_ErrorCode_streamType_incorrect = 74, ZL_ErrorCode_streamCapacity_tooSmall = 75, ZL_ErrorCode_streamParameter_invalid = 76, ZL_ErrorCode_logicError = 80, ZL_ErrorCode_temporaryLibraryLimitation = 81, ZL_ErrorCode_maxCode = 99,
}
Expand description

ZL_ErrorCode *

Variants§

§

ZL_ErrorCode_no_error = 0

§

ZL_ErrorCode_GENERIC = 1

§

ZL_ErrorCode_srcSize_tooSmall = 3

§

ZL_ErrorCode_srcSize_tooLarge = 4

§

ZL_ErrorCode_dstCapacity_tooSmall = 5

§

ZL_ErrorCode_userBuffer_alignmentIncorrect = 6

§

ZL_ErrorCode_decompression_incorrectAPI = 7

§

ZL_ErrorCode_userBuffers_invalidNum = 8

§

ZL_ErrorCode_invalidName = 9

§

ZL_ErrorCode_header_unknown = 10

§

ZL_ErrorCode_frameParameter_unsupported = 11

§

ZL_ErrorCode_corruption = 12

§

ZL_ErrorCode_compressedChecksumWrong = 13

§

ZL_ErrorCode_contentChecksumWrong = 14

§

ZL_ErrorCode_outputs_tooNumerous = 15

§

ZL_ErrorCode_compressionParameter_invalid = 20

§

ZL_ErrorCode_parameter_invalid = 21

§

ZL_ErrorCode_outputID_invalid = 22

§

ZL_ErrorCode_invalidRequest_singleOutputFrameOnly = 23

§

ZL_ErrorCode_outputNotCommitted = 24

§

ZL_ErrorCode_outputNotReserved = 25

§

ZL_ErrorCode_segmenter_inputNotConsumed = 26

§

ZL_ErrorCode_graph_invalid = 30

§

ZL_ErrorCode_graph_nonserializable = 31

§

ZL_ErrorCode_invalidTransform = 32

§

ZL_ErrorCode_graph_invalidNumInputs = 33

§

ZL_ErrorCode_successor_invalid = 40

§

ZL_ErrorCode_successor_alreadySet = 41

§

ZL_ErrorCode_successor_invalidNumInputs = 42

§

ZL_ErrorCode_inputType_unsupported = 43

§

ZL_ErrorCode_graphParameter_invalid = 44

§

ZL_ErrorCode_nodeParameter_invalid = 50

§

ZL_ErrorCode_nodeParameter_invalidValue = 51

§

ZL_ErrorCode_transform_executionFailure = 52

§

ZL_ErrorCode_customNode_definitionInvalid = 53

§

ZL_ErrorCode_node_unexpected_input_type = 54

§

ZL_ErrorCode_node_invalid_input = 55

§

ZL_ErrorCode_node_invalid = 56

§

ZL_ErrorCode_nodeExecution_invalidOutputs = 57

§

ZL_ErrorCode_nodeRegen_countIncorrect = 58

§

ZL_ErrorCode_formatVersion_unsupported = 60

§

ZL_ErrorCode_formatVersion_notSet = 61

§

ZL_ErrorCode_node_versionMismatch = 62

§

ZL_ErrorCode_allocation = 70

§

ZL_ErrorCode_internalBuffer_tooSmall = 71

§

ZL_ErrorCode_integerOverflow = 72

§

ZL_ErrorCode_stream_wrongInit = 73

§

ZL_ErrorCode_streamType_incorrect = 74

§

ZL_ErrorCode_streamCapacity_tooSmall = 75

§

ZL_ErrorCode_streamParameter_invalid = 76

§

ZL_ErrorCode_logicError = 80

§

ZL_ErrorCode_temporaryLibraryLimitation = 81

§

ZL_ErrorCode_maxCode = 99

Trait Implementations§

Source§

impl Clone for ZL_ErrorCode

Source§

fn clone(&self) -> ZL_ErrorCode

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ZL_ErrorCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for ZL_ErrorCode

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ZL_ErrorCode

Source§

fn eq(&self, other: &ZL_ErrorCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ZL_ErrorCode

Source§

impl Eq for ZL_ErrorCode

Source§

impl StructuralPartialEq for ZL_ErrorCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.