[][src]Enum ikon::encode::EncodingError

pub enum EncodingError<K: Icon + Send + Sync> {
    AlreadyIncluded(K),
    Resample(ResampleError),
    Full(u16),
}

The error type for operations of the Encode trait.

Variants

AlreadyIncluded(K)

The icon already includes an icon associated with this icon.

Resample(ResampleError)

A resampling error.

Full(u16)

The icon aready stores the maximum number of icons possible.

Trait Implementations

impl<K: Icon + Send + Sync + Debug> Debug for EncodingError<K>[src]

impl<K: Icon + Send + Sync> Display for EncodingError<K>[src]

impl<K: Icon + Send + Sync + Debug> Error for EncodingError<K>[src]

impl<K: Icon + Send + Sync> From<Error> for EncodingError<K>[src]

impl<K: Icon + Send + Sync> From<ResampleError> for EncodingError<K>[src]

impl<K: Icon + Send + Sync> Into<Error> for EncodingError<K>[src]

Auto Trait Implementations

impl<K> !RefUnwindSafe for EncodingError<K>

impl<K> Send for EncodingError<K>

impl<K> Sync for EncodingError<K>

impl<K> Unpin for EncodingError<K> where
    K: Unpin

impl<K> !UnwindSafe for EncodingError<K>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.