Struct LimitError
pub struct LimitError { /* private fields */ }
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
fn from_kind(kind: LimitErrorKind) -> SelfConstruct a generic
LimitErrordirectly from a corresponding kind.fn kind(&self) -> LimitErrorKindReturns the corresponding
LimitErrorKindof the error.
Trait Implementations
impl Debug for LimitError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for LimitError
fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>
impl Error for LimitError
impl From<LimitErrorKind> for LimitError
fn from(kind: LimitErrorKind) -> Self