Enum ZSTD_ErrorCode

enum ZSTD_ErrorCode

Variants

ZSTD_error_no_error
ZSTD_error_GENERIC
ZSTD_error_prefix_unknown
ZSTD_error_version_unsupported
ZSTD_error_frameParameter_unsupported
ZSTD_error_frameParameter_windowTooLarge
ZSTD_error_corruption_detected
ZSTD_error_checksum_wrong
ZSTD_error_literals_headerWrong
ZSTD_error_dictionary_corrupted
ZSTD_error_dictionary_wrong
ZSTD_error_dictionaryCreation_failed
ZSTD_error_parameter_unsupported
ZSTD_error_parameter_combination_unsupported
ZSTD_error_parameter_outOfBound
ZSTD_error_tableLog_tooLarge
ZSTD_error_maxSymbolValue_tooLarge
ZSTD_error_maxSymbolValue_tooSmall
ZSTD_error_cannotProduce_uncompressedBlock
ZSTD_error_stabilityCondition_notRespected
ZSTD_error_stage_wrong
ZSTD_error_init_missing
ZSTD_error_memory_allocation
ZSTD_error_workSpace_tooSmall
ZSTD_error_dstSize_tooSmall
ZSTD_error_srcSize_wrong
ZSTD_error_dstBuffer_null
ZSTD_error_noForwardProgress_destFull
ZSTD_error_noForwardProgress_inputEmpty
ZSTD_error_frameIndex_tooLarge
ZSTD_error_seekableIO
ZSTD_error_dstBuffer_wrong
ZSTD_error_srcBuffer_wrong
ZSTD_error_sequenceProducer_failed
ZSTD_error_externalSequences_invalid
ZSTD_error_maxCode

Implementations

impl Clone for ZSTD_ErrorCode

fn clone(self: &Self) -> ZSTD_ErrorCode

impl Copy for ZSTD_ErrorCode

impl Debug for ZSTD_ErrorCode

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

impl Eq for ZSTD_ErrorCode

impl Freeze for ZSTD_ErrorCode

impl Hash for ZSTD_ErrorCode

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

impl PartialEq for ZSTD_ErrorCode

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

impl RefUnwindSafe for ZSTD_ErrorCode

impl Send for ZSTD_ErrorCode

impl StructuralPartialEq for ZSTD_ErrorCode

impl Sync for ZSTD_ErrorCode

impl Unpin for ZSTD_ErrorCode

impl UnsafeUnpin for ZSTD_ErrorCode

impl UnwindSafe for ZSTD_ErrorCode

impl<T> Any for ZSTD_ErrorCode

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ZSTD_ErrorCode

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ZSTD_ErrorCode

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

impl<T> CloneToUninit for ZSTD_ErrorCode

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

impl<T> From for ZSTD_ErrorCode

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for ZSTD_ErrorCode

fn into(self: Self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom for ZSTD_ErrorCode

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

impl<T, U> TryInto for ZSTD_ErrorCode

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