#[non_exhaustive]pub enum LimitKind {
Show 15 variants
Width,
Height,
PagePixels,
Memory,
StreamBytes,
Pages,
Segments,
Symbols,
ReferencesPerSegment,
TotalReferences,
ReferenceDepth,
NestingDepth,
Work,
DecodedBitmapBytes,
RetainedState,
}Expand description
The resource whose configured limit was exceeded.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Width
Page or region width.
Height
Page or region height.
PagePixels
Pixels in one page or bitmap.
Memory
Decoder-managed memory.
StreamBytes
Input stream bytes.
Pages
Number of pages.
Segments
Number of segments.
Symbols
Number of symbols.
ReferencesPerSegment
References on one segment.
TotalReferences
References across the decode operation.
ReferenceDepth
Reference graph depth.
NestingDepth
Nested decoding depth.
Work
Abstract work units.
DecodedBitmapBytes
Cumulative decoded bitmap bytes.
RetainedState
Retained decoder state.
Trait Implementations§
impl Copy for LimitKind
impl Eq for LimitKind
impl StructuralPartialEq for LimitKind
Auto Trait Implementations§
impl Forget for LimitKind
impl Freeze for LimitKind
impl Move for LimitKind
impl RefUnwindSafe for LimitKind
impl Send for LimitKind
impl Sync for LimitKind
impl Unpin for LimitKind
impl UnsafeUnpin for LimitKind
impl UnwindSafe for LimitKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more