Enum UnsupportedSchemes

pub enum UnsupportedSchemes

Contains Unsupported/Yet-to-be supported Decoder image encoding types.

Variants

ExtendedSequentialHuffman

SOF_1 Extended sequential DCT,Huffman coding

LosslessHuffman

Lossless (sequential), huffman coding,

ExtendedSequentialDctArithmetic

Extended sequential DEC, arithmetic coding

ProgressiveDctArithmetic

Progressive DCT, arithmetic coding,

LosslessArithmetic

Lossless ( sequential), arithmetic coding

Implementations

impl UnsupportedSchemes

fn from_int(int: u8) -> Option<UnsupportedSchemes>

Create an unsupported scheme from an integer

Returns

Some(UnsupportedScheme) if the int refers to a specific scheme, otherwise returns None

Trait Implementations

impl Clone for UnsupportedSchemes

fn clone(&self) -> UnsupportedSchemes

impl Copy for UnsupportedSchemes

impl Debug for UnsupportedSchemes

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

impl Eq for UnsupportedSchemes

impl PartialEq for UnsupportedSchemes

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

impl StructuralPartialEq for UnsupportedSchemes

Auto Trait Implementations

impl Freeze for UnsupportedSchemes

impl RefUnwindSafe for UnsupportedSchemes

impl Send for UnsupportedSchemes

impl Sync for UnsupportedSchemes

impl Unpin for UnsupportedSchemes

impl UnsafeUnpin for UnsupportedSchemes

impl UnwindSafe for UnsupportedSchemes

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for UnsupportedSchemes

fn from(t: T) -> T

Returns the argument unchanged.

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

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

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

fn into(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<U> for UnsupportedSchemes where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

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