Struct image::error::LimitError [−][src]
pub struct LimitError { /* fields omitted */ }Completing the operation would have required more resources than allowed.
This is used as an opaque representation for the ImageError::Limits variant. See its
documentation for more information.
Implementations
impl LimitError[src]
impl LimitError[src]pub fn from_kind(kind: LimitErrorKind) -> Self[src]
Construct a generic LimitError directly from a corresponding kind.
pub fn kind(&self) -> LimitErrorKind[src]
Returns the corresponding LimitErrorKind of the error.