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