Enum LimitErrorKind

#[non_exhaustive]
pub enum LimitErrorKind

Indicates the limit that prevented an operation from completing.

Note that this enumeration is not exhaustive and may in the future be extended to provide more detailed information or to incorporate other resources types.

Variants

DimensionError

The resulting image exceed dimension limits in either direction.

InsufficientMemory

The operation would have performed an allocation larger than allowed.

Unsupported { limits: Limits, supported: LimitSupport }

The specified strict limits are not supported for this operation

Trait Implementations

impl Clone for LimitErrorKind

fn clone(&self) -> Self

impl Debug for LimitErrorKind

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

impl Eq for LimitErrorKind

impl Hash for LimitErrorKind

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

impl PartialEq for LimitErrorKind

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

impl StructuralPartialEq for LimitErrorKind

Auto Trait Implementations

impl Freeze for LimitErrorKind

impl RefUnwindSafe for LimitErrorKind

impl Send for LimitErrorKind

impl Sync for LimitErrorKind

impl Unpin for LimitErrorKind

impl UnsafeUnpin for LimitErrorKind

impl UnwindSafe for LimitErrorKind

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for LimitErrorKind where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for LimitErrorKind where ST: ?Sized, DT: ?Sized,

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

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

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

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

impl<T> From<T> for LimitErrorKind

impl<T> IntoEither for LimitErrorKind

impl<T> Pointable for LimitErrorKind

impl<T> Read<Exclusive, BecauseExclusive> for LimitErrorKind where T: ?Sized,

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

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

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

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