Struct LimitError
struct LimitError { ... }
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: &Self) -> LimitErrorKindReturns the corresponding
LimitErrorKindof the error.
impl Debug for LimitError
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for LimitError
fn fmt(self: &Self, fmt: &mut Formatter<'_>) -> Result<(), Error>
impl Error for LimitError
impl Freeze for LimitError
impl RefUnwindSafe for LimitError
impl Send for LimitError
impl Sync for LimitError
impl Unpin for LimitError
impl UnsafeUnpin for LimitError
impl UnwindSafe for LimitError
impl<T> Any for LimitError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for LimitError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for LimitError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for LimitError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for LimitError
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> ToString for LimitError
fn to_string(self: &Self) -> String
impl<T, U> Into for LimitError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for LimitError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for LimitError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>